I am working with unity for an iOS game. For unlocking achievement I need to access a "Achievement.mm" file from my c# code:
[DllImport("__Internal")]
private static extern void
GKAchievement(string achievementID, float progress, bool value);
I got this code from a forum. But, what does the "__Internal" means ?
[DllImport()]
.__internal
is a keyword used for static linking needed by specific platforms, such as XBox and iOS.Please for more info refer to: https://docs.unity3d.com/Manual/NativePlugins.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With