Example #1
0
    ////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);
    }
Example #2
0
 void Start()
 {
     instance = this;
 }