public void ClickAgreeButton()
        {
            NAgreeInfo info = new NAgreeInfo();

            info.theme         = "green";
            info.showNightPush = true;
            GamePot.showAgreeDialog(info);
        }
        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
        }
 /// <summary>
 /// Show Agree Popup
 /// </summary>
 /// <param name="info"></param>
 /// <param name="cbShowAgree">Callback Function</param>
 public static void showAgreeDialog(NAgreeInfo info, GamePotCallbackDelegate.CB_ShowAgree cbShowAgree)
 {
     GamePotEventListener.cbShowAgree = cbShowAgree;
     showAgreeDialog(info);
 }
        public static void showAgreeDialog()
        {
            NAgreeInfo info = null;

            showAgreeDialog(info);
        }