#how to add c++

1 messages · Page 1 of 1 (latest)

coral spindle
#

Hi guys i was wonder is their a method to add the program language c++ to unity so i still can use unity as game engine but the codes i write is in c++

shell gust
#

I tried researching this topic about a year ago, and as far as I know, there exists one plug-in I forgot the name of. I may try looking it up tonight. But, I must strongly suggest you learn Unity by itself as it is better in performance, and is the best practice. If you have taken the time to learn C++ perfectly, it won't take much longer to learn C#.

remote apex
# coral spindle Hi guys i was wonder is their a method to add the program language c++ to unity ...

you can but you won't have access to any engine functionality
also note that you can "basically" write c++ like code within an unsafe class/context in c#
https://docs.unity3d.com/Manual/NativePlugins.html
https://levelup.gitconnected.com/integrating-native-c-c-libraries-with-unity-as-plugins-a-step-by-step-guide-17ad70c2e3b4

just try to look up some tutorials on it, I've seen numerous

Medium

As a Graduate Research Assistant at the Virtual Reality, Simulation, Imaging and Modeling (ViRaSIM) Lab at the department of Computer…