Esempio n. 1
0
        public static SDKManager GetInstance()
        {
            if (instance == null)
            {
                instance         = new SDKManager();
                instance.handler = new MessageHandler(instance);
            }

#if UNITY_IOS && !UNITY_EDITOR
            instance.instanceImpl = new IosSdkImpl();
#elif UNITY_ANDROID && !UNITY_EDITOR
            instance.instanceImpl = new AndroidSdkImpl();
#endif
            return(instance);
        }
Esempio n. 2
0
 public MessageHandler(SDKManager manager)
 {
     this.manager = manager;
 }