Quantcast
Channel: Latest Questions on Unity Answers
Browsing all 171066 articles
Browse latest View live
↧

How do Smart Banners scale?

I am putting ads into my game at the moment but only have an S3 to test on. Smart Banners fit perfectly on my S3, but I am a little confused as to how they scale. Will they maintain the ratio when I...

View Article


How to make a pause menu with Gui Texture??

Hi Can someone say me How to make a pause menu with Gui Texture?? Sry i have no idea why to make it?? Not a gui button only a gui texture when i press my pause button than the gui texture come and when...

View Article


What Assests to use for a large clickable sphere?

So I want to make a large sphere with clickable squares/ pixels. What assets would I use for that?

View Article

Changed Prefab tag Still objects untagged??

I created prefab and tagged it with "Player" .But the clone objects they still untagged i even printed void OnCollisionEnter2D(Collision2D collInfo){ Debug.Log (collInfo.collider.tag); //Prints...

View Article

2D box colliders not touching but are colliding, how to fix?

I am having an issue with my 2D project in Unity 4.3. This depicts it. ![alt text][1] The orange is a 'player' with a RigidBody2D and BoxCollider2D and the blue is the 'ground' with also a...

View Article


Clicking a cube to load scene

ok i have a cube with a script to make it float in water and i want to make it so when i click on the cube with a right click it loads a new scene no matter what i do it wont work ive looked at all...

View Article

How to instantiate object at fixed location?

Hey jeremy here! What I'm trying to do is instantiate an object at a random position within the radius of a sphere or cube! which I have done and works fine, the only trouble I seem to be having is...

View Article

Unity 2D Background Image overlap sprite

I followed the instruction here. http://answers.unity3d.com/questions/9729/how-can-i-display-a-flat-background-2d-image-not-a.html But there's no response from the answers, so I remake it. I set...

View Article


AudioSource volume gets lower when another AudioSource is played.

This is basically the same question as this [unanswered question][1]. [1]: http://answers.unity3d.com/questions/485919/why-is-my-backtracks-volume-getting-lower.html In Unity 4.3.4f, I have an 2D Audio...

View Article


Instantiate to relative location?

#pragma strict var objectName : GameObject; //var player : GameObject; function Start() { } function Update() { if(Input.GetKeyDown(KeyCode.X)) { var pos = Vector2(15,1.5); var rot : Quaternion =...

View Article

A yield function for function Update?

I need to add a **yield new WaitForSeconds(2);** where the application loads the level...How will I do this? :) var timer: float = 30; var isFinishedLevel : boolean = false; function Update() { if...

View Article

"New highlighter editor API"? Where is it exactly?

From [4.3.3 release notes][1]:> New Highlighter editor API for highlighting elements in the editor. Useful for in-editor tutorials and similar. Where is that located exactly? Tried `Editor`,...

View Article

Players aren't in the same room?

For some reason when I run two instances of the game, and connect as one player, and connect the other, One player is already in the game getting chased by zombies and the other is in a different game...

View Article


Child lossyScale changes after setting localRotation

Hey there Unity community! I've been working quite hard on a project lately with some colleagues, and I've just ran into something that I think might be a Unity bug itself. Anyways, I would love you to...

View Article

GameObject Rotation is always postive

Sorry if a post like this already exists (couldn't find it). I'm trying to calculate how many flips the player has done on their bike but since I'm always getting a positive value I can't calculate it...

View Article


2D Background Stop Moving on Collision.

Hello everyone, I currently have an Object that's moving around a background(which is a sprite.) This is how the object moves. The idea of movement is Gameboy Zelda style. I've created a small HUD with...

View Article

error CS1061: Type `PlayerPhysics' does not contain a definition for `Move'...

What the heck is this? What kind of error asks me a question?(rhetorical) well here is my script. using UnityEngine; using System.Collections; [RequireComponent(typeof(PlayerPhysics))] public class...

View Article


Removing movement interpolation between animations

Hello forums, This is a tough one to explain but I'll do my best. In my animation, I have a shield object attached in unity2D. My animation curves are set such that the shield's sprite position bobs up...

View Article

Write and Read to a iOS device! Help

Hi everyone! I've been working on a code for 1 1/2 day to use on iOS device. I've been using testing it on a mac, but switching it iOS didn't go well. I thought i could just switch from using...

View Article

Is it possible to change the Frame Over Time property of a ParticleEmitter at...

Hi UnityAnswers Community It seems weird to me that it isn't possible to access the Frame Over Time property of a ParticleEmitter. Am I missing something or simply this property isn't exposed? EDIT:...

View Article
Browsing all 171066 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>