public static void showAgreeDialog(NAgreeInfo info) { Debug.Log("[GPUnity][Call] showAgreeDialog"); #if UNITY_EDITOR { Debug.Log("GamePot - UNITY EDITOR DUMMY CALLBACK showAgreeDialog always success"); // Temporary user info for UnityEditor Development mode if (GamePotEventListener.s_instance != null) { string successResultJson = "{\"agree\":true,\"agreeNight\":true}"; GamePotEventListener.s_instance.onAgreeDialogSuccess(successResultJson); } else { Debug.LogError("GamePot UnityEditor listener is NULL"); } } #elif UNITY_IOS GamePotUnityPluginiOS.showAgreeDialog(info != null ? info.ToJson().ToString() : null); #elif UNITY_ANDROID GamePotUnityPluginAOS.showAgreeDialog(info != null ? info.ToJson().ToString() : null); #endif }