- Home /
Unity Javascript Question
I haven't programmed/scripted in javascript outside Unity3D
I was wondering is it the Javascript in unity3d the same as say the javascript used for web content
it resembles Actionscript 3.0 more (in my opinion)
Sorry if it is a stupid question. but have been wondering for some time (i did google a few code images and it wasn't clear)
Answer by perchik · Jul 31, 2013 at 07:11 PM
The short answer is kinda.
Unity Javascript is similar to real javascript, but all of the MonoBehaviour related stuff is part of UnityEngine and doesn't exist on the web. If you want to learn to transition to web javascript, it might be worth your time to try Code Academy
Answer by Eric5h5 · Jul 31, 2013 at 07:58 PM
It's not very similar for the most part. Unity Javascript uses classes and structs (not prototype), is not dynamically typed, etc. You're correct that it's far more like ActionScript3.
Your answer
