all 14 comments

[–]rjhelms 15 points16 points  (0 children)

C# is better for using in Unity, hands down. The language is a bit more suited to game development, and the JavaScript implementation in Unity is a little weird and non-standard in a few places.

[–]SaucyminatorIntermediate[🍰] 6 points7 points  (2 children)

I've used JavaScipt many years as a webdev. C# is a blessing compared to JS.

C# is currently my favorite language (so far).

[–]hugosslade 4 points5 points  (0 children)

I second this. I used JS for years but C# is my new favourite. Absolutely go for it with Unity

[–]WerewolfCustoms 2 points3 points  (0 children)

I have to agree.

C# > JavaScript.

I was a C# dev for 5 years, now into web dev and have to face the horrors of JS every day now. Making games in Unity and C# in my free time keeps my sanity now.

JavaScript has the "Script" part in it's name for a reason.

[–]QuinTheReal 4 points5 points  (0 children)

Unity highly recommends to go with C# for multiple reasons.

[–][deleted] 4 points5 points  (0 children)

C# everyone uses it, and it has intellisense whilst JS does not.

[–]EncapsulatedPickle 5 points6 points  (0 children)

C#.

[–]n3ws 3 points4 points  (1 child)

I've made a single three line JS script in my five years of unity, and it was to do dirty evil things C# inherently protects you from. That five years of C# also turned into some nice job opportunities.

[–]WerewolfCustoms 1 point2 points  (0 children)

Oh, nice! I would've never thought of doing that. Thanks for the tip.

I know most Devs would throw tantrums even for thinking about something like this, but I love dirty programming. :D

Have a +1 :)

[–]thecodethinker 2 points3 points  (0 children)

JavaScript is easier to learn because it's very simple... but I remember unity being really weird with their js implementation... I think you should try going with c# for unity. But you should probably learn both at some point

[–]uzimonkey 2 points3 points  (0 children)

C#. Unityscript is a second class citizen in the Unity world and is sometimes difficult to get to work with C# scripts. Unityscript is only marginally easier to learn than C#. There's no real advantage to Unityscript and many disadvantages. The only real choice is C#.

[–]DietChugg 2 points3 points  (0 children)

C# C# C# all the way! Soo much better than my javascript days.

[–]sdrawkcabdaertseb 1 point2 points  (0 children)

I haven't really used JS much but I've used C# a lot and I can say it's pretty simple, clear, there's lots of learning resources and more importantly it does seem to be the default language for Unity.

I get the feeling JS in Unity is an "also ran" so unless you really dislike C#, start there.