+ 1

Could I make game in JavaScript on unity3d?

Could I make game in JavaScript on unity3d?

18th Jun 2018, 9:23 AM
Fury
3 odpowiedzi
+ 4
js in depreciated for unity 3d...its mostly c#...visit their website for full info
18th Jun 2018, 9:29 AM
᠌᠌Code X
᠌᠌Code X - avatar
+ 4
Hello, Fury ! To write to JS, and not only on JS, but also on C # in Unity, you need to understand how Unity is built from the inside to be able to access its components. For example, there is a GameObject that has a transform property that is responsible for positioning the object on the screen, rotation. Accordingly, knowing that an object has a transform property, you can access it through a script gameObject.transform.position = Vector3.zero; after this line is executed, the object will be in the zero position. Everything else needs to be looked at from the Unity documentation, the existence of properties for objects and what they are responsible for. Each property has a good example of its use on js.
18th Jun 2018, 9:30 AM
Alexander Sokolov
Alexander Sokolov - avatar
+ 1
thank you for usefull information
18th Jun 2018, 9:41 AM
Fury