When i first started scripting, i scriped in C# But now i script in javascript…
But which one is better for making games in unity?
When i first started scripting, i scriped in C# But now i script in javascript…
But which one is better for making games in unity?
C#
Cue language debate in 3…2…1…
I concur with Exiguous’s statement…
But if i use both type of scripts for my game, will it be bad for the game?
As long as you’re conscious of compilation order, no.
Not exactly. It will be bad for everything if you use UnityScript.
Sorry to answer a question with a question, but I’m curious can a js script communicate with a c# script? I’m almost sure they could, but I’ve never tried.
Well, i think i’ll have make my scripts into C# then… or just keep scripting with Javascript.
Another question tho.
Whats the difference between making a game with Java or C#, like will it be slower/lag etc.
If you’re familar with C#, stick with C#. It’s better and supports all of the language features, since it’s was specifically made for .NET (Mono is a .NET port).
UnityScript should only be used by people who come from flash development, because it has certain similarities to ActionScript (which in turn is similar to JavaScript) and who don’t want to learn C#
Ok, then i should make my scripts into C#?