////private AndroidJavaObject curActivity; //[DllImport("__Internal")] //private static extern void iOSPluginHelloWorld(string strMessage); public static iOSManager GetInstance() { if (_instance == null) { _instance = new GameObject("iOSManager").AddComponent <iOSManager>(); } return(_instance); }
void Start() { instance = this; }