[n00b inside] are scripting languages platform-independent?

Hi,
I know that C# as a “coding” language can only be used on a Windows computer, the apps you develop need to be compiled on this type of platform. I was wondering though if C# could be used in U3D on a Mac, since it is used for “scripting” (as in “scripting versus coding”) ? I don’t know in which way U3D embeds code assets written in C#, if there is some sort of compilation done, but if not, if C# is just used as a regular scripting language, ie, with no compilation happening at all, could it be possible to use it on a Mac?
TIA!

Yes.

Nope, C# is platform gnostic.

The Visual C# + .Net, implementation works on Windows only - but there’s a nice Mono implementation that works on many platforms - and that’s what UT uses.

If you’re working on a multiplatform application/game I actually recommend using C#. I know that C# works on PC, Mac, iOS and android. However on the other platforms I have no experience with Unity so I can only speak for those.

In English: all unity languages work on all machines. This includes C#

That’s incorrect. It works wherever there’s a C# compiler and a runtime platform that can use CIL code, which is basically all platforms thanks to Mono.

–Eric

Thx. Does this mean the Mono implementation comes within Unity? Or do I have to install it before, and perhaps do a little configuration in Unity? Also, is there a difference in terms of performance between scripts written in C# and in js?
Also, I recognize I made a mistake in what I said, it is Visual C# .NET that is only available on Windows PC.

Yes.

No.

No.You might find some people who will argue the point, but you’ll always find someone prepared to argue that black is white on the Internet.

Thanx a lot for your answers!