This post is a result of the issue over global variables at:
Note from above post.
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'
Answer by dhendrix
Jun 28, 2010 at 03:08 AM
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.
Answer by Eric5h5
Jun 28, 2010 at 03:47 AM
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users post good questions and use the site effectively we have posted a user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
No one has followed this question yet.
Can I declare properties in JS?
Can I use lambda expressions or anonymous methods in JS?