Input on Scripting Language to use?

Hi all,

I know for fact this has been asked a million times on the forum, so let me just be upfront and apologize in advance for being “that guy”.

Let me give you a little bit of background before I ask my question, however.

I recently completed an 2D RPG commercial title. The language used was Ruby. I’m looking to start using Unity, and am expressing interest in doing a First Person, or Third Person shooter.

With my coding background being Ruby, what would you suggest I use for the scripting in Unity? How about for the type of project I plan to be using?

Any major advantages or disadvantages?
I’m especially concerned about disadvantages.

I do plan on this being a “full length” title. I really do not want to get halfway through the base of the project, and find out one scripting language is incapable, or too slow at things than another.

So your input is greatly appreciated. Again, I hate to be “that guy” and ask a question like this, but I do appreciate it, and it’s valuable.

I don’t know Ruby, but it’s irrelevant. C# and JS (actually “UnityScript”, because it’s not like the JS you’ll find elsewhere) are extremely similar, to my eyes. However, C# can do things JS can’t. I use these things all the time. I have no experience with Boo, but it doesn’t have the documentation and other web resources that C# has. Neither does UnityScript.

http://forum.unity3d.com/threads/94262-Differences-of-C-and-JS

Use C#. I say this as a Mac-only user, who has picked up most of his C# from looking at examples of code for Windows. If you do use Windows, C# will be even easier, and you’ll have Visual Studio, the optimum environment for it (as far as I’ve heard – it couldn’t be worse than MonoDevelop).

Welcome to the forum!

There is no real difference (basically syntax) between the ones available in Unity - Boo, UnityScript and C#. There were a few functionality differences prior to Unity 3, but I think those have been addressed, and the same with most documentation/tutorials mainly being in UnityScript.

C# however lets you use MS Visual Studio or MS Visual C# Express, and it’s stricter syntax may make you a better coder in the future.

Some were.

Tutorials, true. However, the documentation lets you pick what language you want to see the examples in.

Go with C#. Definitely.

I don’t know how much it makes one a better coder and all that, but it’s a much, much better organized language. Plus, using Visual Studio and the mighty Intellisense, you almost don’t need to know how to code :wink:

And given the other option, it’s really a no-brainer.

I don’t know why people think JS is ‘easier’ than C#, really… in fact, all the things that are supposed to make JS ‘easy’, are actually going to be the ones giving you a massive headache later on.

Cheers