Using .NET 4.5 code in Unity 5

后端 未结 3 986
囚心锁ツ
囚心锁ツ 2020-12-14 08:49

I am working on a game using Unity3D version 5. The game should use strict business rules already programmed in a C# .NET4.5 engine. Using Xamarin/Mono, we hope to make this

3条回答
  •  再見小時候
    2020-12-14 09:29

    Using a visual studio plugin: unmanaged exports, I have been able to export the C# .NET 4.5 to an unmanaged/native dll which I can use in Unity Engine. This forces to call only simple functions, but with little work, it was possible for me to wrap the core of my engine.

提交回复
热议问题