Can I write Turbo C++ / C++ scripts in Unity?

Hello,

Can I use C++/Turbo C++ languages for programming in Unity? If there’s a way to make unity support the language, please tell me. If there’s no really a way to do so, please tell me how to learn Unity language fast and easy.

Welcome to the forum!

C++ is only supported via plugin with Unity Pro. It was not made to create actual scripts for Unity with it, but more to extend the feature set of Unity. Also those native code plugins can not be used on all platforms. E.g. they won’t work with web players.
Your options are C#, UnityScript or Boo. As I can’t know how you are used to learn, I can’t provide you help. You may buy a C# book to learn the basics. But there are also a lot of projects in the Asset Store, like official ones from Unity, where you can directly have a look at the code if you prefer that. Further there are a lot of tutorials online.

There is no dedicated Unity “language” as far as I know. Unity gives you the option to use JavaScript, C#, and some other language I can’t remember the name of. But if you can program in C++ it should be a rather easy transition to C#. I’m not sure others would fully agree with me, but I find C# to be like the easy mode of C++. It’s very similar, but C# is kind of idiot proof.

I will also say this, the Unity reference manual is one of the best written manuals I have ever seen in my life, so if you look at the C# examples you should be able to catch on really quick. Even looking at the JavaScript examples could be beneficial as if you can read C#, you can probably read JavaScript.

Thanks for your replies guys, both replies were so helpful.

I think I got my answer, I’ll have a look at the unity manual one day, then I can see how it works with the languages. That would be great if Unity could fully support C++ . I haven’t worked with C# but if - as was said - is fool proof, that’d be easier to program. I hope Java scripts looks same as C# - as is said in the replies.

I also think Unity should support C++. Maybe in the next updates.