Wireless Army
This is a blog / tips and tricks website for web developers and security researchers.
follow us in feedly


transitionfrom 4 to 5 C#
by admin
 at 2016-06-30 09:52:00.

many parts of your C# script may brake if you have a game written in unity 4 and now you upgraded to unity 5.

before you used to talk to your componants directly like

animation.play();

or

Rigidbody.velocity

now the cyntax will looke like some thing like

GetComponent<animation>().play;

or

 

GetComponent<Rigidbody>().velocity