I just wanted to know which is best for game developement, Js or C#? is it ok to use Js cause its easier?
var t : Transform; t.position.x = 4.5f;
Transform t; Vector3 tempV3 = t.position; tempV3.x = 4.5f; t.position = tempV3;
or in case of inlining it.
Transform t; t.position = new Vector3(4.5f, t.position.y, t.position.z);
Try out both, see what language you find better to work with, but even though you could say there are more rules in c#(formatting syntax, etc), it is more explicit, doesn’t hide the details and is more transferable as a language into different applications, etc.
This has also been posted many many times, in a lot of cases ending in flame wars, but there are some good thoughts in some of the posts: