-3
\$\begingroup\$

I am fairly familiar with Unity and I know how to work most of the features within it. But I don't know what programing languages to use for my Unity game. I have heard that it might be C#, but I am unfamiliar with C-sharp so I was wondering if Unity can use any other languages. I would not like opinions on which one to use, I just want to know what Unity supports.

\$\endgroup\$
3
  • 5
    \$\begingroup\$ So, you were unable to find this? docs.unity3d.com/Manual/CreatingAndUsingScripts.html \$\endgroup\$ – bummzack Sep 2 '14 at 6:50
  • 3
    \$\begingroup\$ Thanks yeah that was fairly dumb of me not to look at the Unity manual. \$\endgroup\$ – Nova Nanite Sep 2 '14 at 6:54
  • \$\begingroup\$ This question was useful to me, I did initially bump into docs.unity3d.com/Manual/CreatingAndUsingScripts.html however it left me undecided if c# was the only language Unity's available in. A quick web search brought me here and cleared that up wonders, I don't think the question should have down votes. \$\endgroup\$ – CausingUnderflowsEverywhere Feb 16 at 18:02
2
\$\begingroup\$

In the time since this question was first asked, the UnityScript and Boo options in Unity have been deprecated, and are no longer available in current Unity versions.

(This is one reason why questions about the supported features of a particular software package aren't a great fit for the Q&A format we use here - old information can fossilize. Your first port of call should always be the documentation for that software itself, which will generally have the most up-to-date information about what it does and does not support)

The Unity documentation now reads:

Unity supports the C# programming language natively. C# (pronounced C-sharp) is an industry-standard language similar to Java or C++.

In addition to this, many other .NET languages can be used with Unity if they can compile a compatible DLL - see here for further details.

\$\endgroup\$
1
  • 1
    \$\begingroup\$ Feel free to instead just update existing answers in cases like this. \$\endgroup\$ – MichaelHouse Apr 6 '20 at 15:15
2
\$\begingroup\$

As found in the documentation, there is one "native" choice:

  • C# (pronounced C-sharp), an industry-standard language similar to Java

Additionally, many other .NET compatible languages (like C++) can be used, if they are first compiled into a DLL (then you'd have to write wrapper code in C#).

\$\endgroup\$
1
  • 1
    \$\begingroup\$ Note that Unityscript and Boo are depreciated in newer versions. \$\endgroup\$ – Panagiotis Iatrou Apr 1 '20 at 21:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.