I am learning JS, I check some stuff on JavaScript and it is all about building web page. It dose not seem there is class, not too much functions. So Unity script (JS) might look like something else, what it is?
Hi, there is a very good explanation of Unity javascript in the wiki. Here is the link.
You can also watch a free tutorial on the subject at unity-tutorials.com, my website. I have both a free tutorial on basic scripting and basic GUI code for Unity.
thanks