unity il2cpp support c++ source plugin,so I try import this library to unity.
I'm noob on c++. some compile error stuck me few days. can you help me to fix compile error?
C++ source code plugins for IL2CPP
reproduce:
drag trhree source file to Plugins floder in unityediter, And add c# script to gameobject.
public class runtest : MonoBehaviour
{
[DllImport("__Internal", CallingConvention = CallingConvention.Cdecl)]
public static extern System.IntPtr xatlasCreateAtlas();
private void Start()
{
xatlasCreateAtlas();
}
}
than choose windows platform,and choose il2cpp option in playersetting.
press build button,you can see same link error in console.
I am not good at solve c++ problem by myself,please help me😳
unity il2cpp support c++ source plugin,so I try import this library to unity. I'm noob on c++. some compile error stuck me few days. can you help me to fix compile error? C++ source code plugins for IL2CPP
reproduce: drag trhree source file to Plugins floder in unityediter, And add c# script to gameobject.
than choose windows platform,and choose il2cpp option in playersetting. press build button,you can see same link error in console. I am not good at solve c++ problem by myself,please help me😳