Пример #1
0
 public static IEnumerator finishedSynchOfflineOperation(CallbackInitialize _callbackInitialize)
 {
     saveCallback(_callbackInitialize);
     using (AndroidJavaClass javaUnityApplicasa = new AndroidJavaClass("com.applicasaunity.Unity.ApplicasaLiManager"))
         javaUnityApplicasa.CallStatic("setFinishSyncOfflineOperation");
     yield return(null);
 }
Пример #2
0
 public static IEnumerator initApplicasa(CallbackInitialize _callbackInitialize)
 {
     #if UNITY_ANDROID
        saveCallback(_callbackInitialize);
        using(AndroidJavaClass javaUnityApplicasa = new AndroidJavaClass("com.applicasaunity.Unity.ApplicasaLiManager"))
     javaUnityApplicasa.CallStatic("initialize");
     #elif UNITY_IPHONE && !UNITY_EDITOR
        while (!Applicasa.Core.isDoneLoading()) {
     yield return new WaitForSeconds(0.2f);
        }
        _callbackInitialize(true, new Error());
     #else
        _callbackInitialize(true, new Error());
     #endif
        yield return null;
 }
Пример #3
0
        public static IEnumerator initApplicasa(CallbackInitialize _callbackInitialize)
        {
#if UNITY_ANDROID && !UNITY_EDITOR
            saveCallback(_callbackInitialize);
            using (AndroidJavaClass javaUnityApplicasa = new AndroidJavaClass("com.applicasaunity.Unity.ApplicasaLiManager"))
                javaUnityApplicasa.CallStatic("initialize");
            initPushListener();
#elif UNITY_IPHONE && !UNITY_EDITOR
            while (!Applicasa.Core.isDoneLoading())
            {
                yield return(new WaitForSeconds(0.2f));
            }
            _callbackInitialize(true, new Error());
#else
            _callbackInitialize(true, new Error());
#endif
            yield return(null);
        }
Пример #4
0
 private static extern float saveCallbackIAP(CallbackInitialize _CallbackInitialize, CallbackInitializeIAP _CallbackInitializeIAP);
Пример #5
0
 private static extern float saveCallback(CallbackInitialize _CallbackInitialize);
Пример #6
0
 private static extern float saveCallbackIAP(CallbackInitialize _CallbackInitialize, CallbackInitializeIAP _CallbackInitializeIAP);
Пример #7
0
 public static IEnumerator finishedSynchOfflineOperation(CallbackInitialize _callbackInitialize)
 {
     _callbackInitialize(true, new Error());
     yield return(null);
 }
Пример #8
0
 private static extern float saveCallback(CallbackInitialize _CallbackInitialize);