0
scripting language means what
9 Respuestas
+ 4
"Unity does JavaScript" is a marketing lie by Unity... The language that you can use is not really JS, it's some kind of weird adaptation of C# with JS-like syntax. It won't accept normal JS code and you won't be able to run JavaScript modules. Unity is only supporting JavaScript as a convenience for people who are already familiar with the JS syntax and constructs. You need to learn the Unity-specific API in JavaScript in order to write the scripts effectively.
To go deeper about differences in between JS/C# for Unity:
http://stackoverflow.com/questions/28002054/is-there-a-difference-between-javascript-and-unity-javascript-unityscript
+ 3
@Krafter166:
Unity use probably JS in a customized way : maybe they 'translate' JS in another code to be compiled, as it seems to me than the root language of Unity is C#, which is a compiled language ^^
+ 1
no need of compiler..I guess
+ 1
@ashutosh mishra
JS codes needs to be compiled
+ 1
@krafter166
JavaScript is not a compiled language it's an interpreted language.
or u can elaborate ur answer
+ 1
@ashutosh mishra
I've seen that JS needs to be compiled to be ran. It was something in Unity 4. I'm not a professional for JS or Unity 4 so correct me i I'm wrong.
+ 1
As I said I don't know much about JS or Unit, but I know that Unity 4 is in JS and Unity 5 in C#
0
these are just high level programming languages that are interpreted by a computer's processor during runtime. for example, JavaScript is used in html to add more functionality to it and to make the page more responsive; c++ is used in developing games.
0
Any programming language that supports scripts that is programs that is written for a particular or special run-time environment that automate the execution of tasks that could alternatively be executed one-by-one by a human operator is called a SCRIPTING LANGUAGE