public static IEnumerator finishedSynchOfflineOperation(CallbackInitialize _callbackInitialize) { saveCallback(_callbackInitialize); using (AndroidJavaClass javaUnityApplicasa = new AndroidJavaClass("com.applicasaunity.Unity.ApplicasaLiManager")) javaUnityApplicasa.CallStatic("setFinishSyncOfflineOperation"); yield return(null); }
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; }
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); }
private static extern float saveCallbackIAP(CallbackInitialize _CallbackInitialize, CallbackInitializeIAP _CallbackInitializeIAP);
private static extern float saveCallback(CallbackInitialize _CallbackInitialize);
public static IEnumerator finishedSynchOfflineOperation(CallbackInitialize _callbackInitialize) { _callbackInitialize(true, new Error()); yield return(null); }