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.
Can't you get the same effect with Bounds.Intersects() ?
Nice work.
+1 Here you don't need real time check for mass entities, don't bother with a A*, a simple recursive lookup of the adjacent tiles will work just...
The idea is so simple yet so brilliant, it makes me wonder why it hasn't been done before. In the article he said he wants to get in touch with...
OnCollisionEnter relies on the physics engine, which is not active in editor mode. You could check the Bounds class. With Bounds.Intersects() you...
You can tell Unity to apply this to all type of gameobject. See here for more informations.
Polymorphism works pretty well in unity, you just need to get the base class component : function OnCollisionEnter(collision:Collision){...
This function tells unity to not destroy the object or component when it switches scene, or restart the scene. This can be used in all projects,...
If you want to go up as long as you hold the spacebar, you should use Input.GetButton instead of Input.GetButtonDown. On a side note, depending...
Or you could just replace the "==" with ">=". That way no need to worry about speed and it may be easier to read.