private IOSMessageSender()
 {
     if (GamebaseUnitySDKSettings.GetComponent <NativeMessageReceiver>() == null)
     {
         GamebaseUnitySDKSettings.AddComponent <NativeMessageReceiver>();
     }
 }
Esempio n. 2
0
        private AOSMessageSender()
        {
            if (null == jc)
            {
                jc = new AndroidJavaClass(GAMEBASE_ANDROID_PLUGIN_CLASS);
            }

            if (null == GamebaseUnitySDKSettings.GetComponent <NativeMessageReceiver>())
            {
                GamebaseUnitySDKSettings.AddComponent <NativeMessageReceiver>();
            }
        }