Top "Unity3d" questions

Unity is a cross-platform game engine by Unity Technologies.

How to Work With Different Screen Resolutions

I'm using Unity 4.3.3 for my game. I'm making a game for Android and iOS devices. Since I'm pretty new to …

android ios unity3d screen-resolution
Rotate object in Unity 3D

I can use the following code to rotate object using accelerometer. transform.rotation = Quaternion.LookRotation(Input.acceleration.normalized, Vector3.up); …

unity3d 3d rotation accelerometer
How to detect click/touch events on UI and GameObjects

How to detect UI object on Canvas on Touch in android? For example, I have a canvas that have 5 objects …

c# unity3d
what is the difference between Update & FixedUpdate in Unity?

What is the difference between the Update and FixedUpdate methods, and when should these methods be used?

unity3d
How does StartCoroutine / yield return pattern really work in Unity?

I understand the principle of coroutines. I know how to get the standard StartCoroutine / yield return pattern to work in …

c# unity3d coroutine
Why does Resources.Load <Sprite> return null?

My project has multiple sprites located in Assets\Sprites which I want to load using C# script. I have tested …

unity3d unityscript
In unity3D, Click = Touch?

I want to detect click/touch event on my gameObject 2D. And this is my code: void Update() { if (Input.…

c# unity3d click touch
Get text from Input field in Unity3D with C#

I'm trying to get a text inside an inputField in Unity3D with C#. I've placed an inputField in my …

c# unity3d input-field unity3d-gui
Unity 4.6 - How to scale GUI elements to the right size for every resolution

The new Unity 4.6 comes with a new GUI, when I change de resolution on Unity the UI Button scales perfectly …

user-interface unity3d 2d-games
In Unity, how can I pass values from one script to another?

In Unity, I want one object to have a falling speed variable that all the other objects can access. For …

c# unity3d