A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
You can do it manually: delegate void SomeDelegate(); public class SomeClass : MonoBehaviour { public SomeDelegate OnSomeEvent;...
Vector3 position = RandomPosition(); Quaternion rotation = RandomRotation(); Vector3 scale = Randomca GameObject someObject =...
In game view choose free aspect and toggle button "stats". You can resize game window and choose correct resolution.
The most important this is aspect. For example you can test your game on 640x384 resolution.
I think it doesn't cause your problem, but www.assetBundle is asynchronous - you should wait (look at yield statement) before loading assets from...
Simple example: public class Player { public string Name; public int NetworkID; public Vector3 Position; /* ... */...
My code is very simple public class AssetQualityManager : MonoBehaviour { #region Fields private string currentQualityDir;...
I'm trying to develop game containing 2 set of assets: high and low resolution. My resource directory tree look like that: Resources | -...
tools->options->key bindings and type "indent".
AudioSource has enabled property, but I'm almost sure you don't want to use it. Instead of this use Stop() or Pause() method.
For mobile platforms you can use Input.touches property
If array size equals possible number count, you can generate array of following numbers (1..80) and permutate it. Otherwise create list with all...
GameObject newObject = null; if(prefabNumer==1) newObject = Instantiate(prefabONE.gameObject, transform.position, transform.rotation) as...
var main : Player; I'm pretty sure it's not correct way to declare variable in c# :p
http://www.blackpawn.com/texts/pointinpoly/
I suggest something like this: class Player : MonoBehaviour { private float minX, maxX, minY, maxY; public Camera gameCamera...
Each element of boxes array is Box, so just do it: foreach(Box b in boxes) { int c = b.getColumn(); int l = b.getLine(); Debug.Log(c...
I suppose that scripts order is a problem. VelocityCalculator is sometimes invoked before move and sometimes after move. I suggest to change...
Use DateTime class. This should looks like this: DateTime before = DateTime.Now; SomeFunction(); DateTime after = DateTime.Now; TimeSpan...