This post is a result of the issue over global variables at: [http://answers.unity3d.com/questions/13717/global-variables-static-keyword]
THUS FIRST QUESTION: how does UnityScript handle classes... as a prototyping engine or a class engine as C#, C, etc..
The next post would be 'closures'
There are really far too many differences between the two to even acknowledge imho. It really is just better to treat it as another language entirely.
You should really compare it more to C# actually. And when using documentation outside of the Unity websites, you should stick to MSDN since it is based on the mono framework.
answered Jun 28, 2010 at 03:47 AM