/// <summary>
    /// 이벤트 팝업으로 최종적으로 구매할때 부르는 함수
    /// </summary>
    void PopupPurchaseAction()
    {
        #if UNITY_IPHONE
        AgStt.mIAP.TheUser = Ag.mySelf;
        AgStt.mIAP.PurchaseProduct(Productid);
        #endif

        #if UNITY_ANDROID
        AgStt.IntendedPause = true;
        if (Ag.CurStorePlfm == StorePlfm.GooglePlay)
        {
            GoogleIAB.purchaseProduct(Productid, GetUniqueKey(20));
        }
        if (Ag.CurStorePlfm == StorePlfm.Nstore)
        {
            IABEventListener.CallPaymentNRequest(mProductCode, mPaymentPrice, GetUniqueKey(20));
        }
        #endif

        /*
         * WasPopupPurchase aObj = new WasPopupPurchase () { PopupCode = popupCode ,User = Ag.mySelf };
         * aObj.messageAction = (int pInt) => {
         *  switch (pInt) { // 0 : 성공, -1 : 중복, -2 : 허용 불가 이름, 1: 존재하지 않는 사용자
         *  case 0:
         *      PopupAfterPurchaseAction ();
         *      break;
         *  case 1:
         *      MenuCommonOpen ("Ui_popup", "havenotcash", false);
         *      break;
         *  }
         *  aObj = null;
         * };
         */
    }
    void Btn_Fun_CashBuyOk()
    {
        dicMenuList ["popup_buycash"].SetActive(false);

        #if UNITY_IPHONE
        AgStt.mIAP.TheUser = Ag.mySelf;
        AgStt.mIAP.PurchaseProduct(Productid);
        #endif

        #if UNITY_ANDROID
        AgStt.IntendedPause = true;

        if (Ag.CurStorePlfm == StorePlfm.GooglePlay)
        {
            GoogleIAB.purchaseProduct(Productid, GetUniqueKey(20));
        }
        if (Ag.CurStorePlfm == StorePlfm.Nstore)
        {
            IABEventListener.CallPaymentNRequest(mProductCode, mPaymentPrice, GetUniqueKey(20));
        }
        #endif
    }