- Home /
Question by
TomerA · Sep 18, 2015 at 07:13 AM ·
script.programmingc++
Can I use c plus plus to program a game in unity?
Last time I used it (2 years ago) I could only use c# and javascript or boo
Comment
Not really, Unity still only supports C# and Unityscript (What you call javascript), however you can write plugins in C++, export them as .dll libraries and call the functions from them in your project from C# scripts.
A quick google search would have easily answered your question however..
Answer by tanoshimi · Sep 18, 2015 at 07:24 AM
No. Scripts are compiled to run under the Mono runtime and must be written in Boo, Unityscript, or (preferably) C#.
You can write native plugins using C++, but not the core game loop.