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); }
public MessageHandler(SDKManager manager) { this.manager = manager; }