cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
C++ in unity
C++ in unity
Jan 19, 2014 at 10:51pm UTC
Rabbagast
(8)
I just saw a youtube video of a guy making a game in unity. He wrote the game code in C#.
Can you use c++ instead of c# when writing code for unity? I pretty sure you can, but i just wanted to clarify it.
Is c++ a better language to use for unity games?
Jan 19, 2014 at 11:21pm UTC
Hippogriff
(727)
You can not write scripting files in C++. You either need to use C# or Javascript (However if you know C++ it shouldn't be "that" hard to switch).
If you use Unity Pro you can write plugins in C++/C then call those functions using scripts.
http://docs.unity3d.com/Documentation/Manual/Plugins.html
http://unity3d.com/pages/why-go-pro
Personally I would stay with free for a while without using any C++ and see how much you like it.
Topic archived. No new replies allowed.