0

scripting language means what

26th Feb 2017, 7:09 AM
Sagar Kurade
Sagar Kurade - avatar
9 Respostas
+ 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
28th Feb 2017, 8:08 AM
visph
visph - avatar
+ 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 ^^
26th Feb 2017, 12:04 PM
visph
visph - avatar
+ 1
no need of compiler..I guess
26th Feb 2017, 7:15 AM
ashutosh mishra
ashutosh mishra - avatar
+ 1
@ashutosh mishra JS codes needs to be compiled
26th Feb 2017, 10:14 AM
Karlo
Karlo - avatar
+ 1
@krafter166 JavaScript is not a compiled language it's an interpreted language. or u can elaborate ur answer
26th Feb 2017, 10:28 AM
ashutosh mishra
ashutosh mishra - avatar
+ 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.
26th Feb 2017, 10:36 AM
Karlo
Karlo - avatar
+ 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#
28th Feb 2017, 5:49 AM
Karlo
Karlo - avatar
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.
26th Feb 2017, 7:31 AM
Rishi Chawda
Rishi Chawda - avatar
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
27th Feb 2017, 1:27 PM
Alkassim Shuaibu Babangida
Alkassim Shuaibu Babangida - avatar