상속: UnityEngine.MonoBehaviour
        /// <summary>
        /// Shows the redeem coupon.
        /// </summary>
        public void ShowRedeemCoupon()
        {
            currentActive = ActiveScreen.REDEEM_COUPONS;
            GameObject screenRedeemCoupons = Instantiate(Resources.Load(PREFAB_SCREEN_REDEEM_COUPON)) as GameObject;

            Resizer.DestroyChilds(mainScreenContainer.transform);
            Resizer.SetParentToFullScreen(screenRedeemCoupons, mainScreenContainer);

            _couponController = screenRedeemCoupons.GetComponent <RedeemCouponViewController>();
            _couponController.InitScreen(base.Utils);
            _couponController._btnApply.onClick.AddListener(delegate
            {
                CouponApplyClick(_couponController.GetCode());
            });
        }
        public void ShowRedeemCoupon()
        {
            currentActive = ActiveScreen.REDEEM_COUPONS;
            GameObject screenRedeemCoupons = Instantiate(Resources.Load(PREFAB_SCREEN_REDEEM_COUPON)) as GameObject;

            // clear container
            Resizer.DestroyChilds(mainScreenContainer.transform);
            screenRedeemCoupons.transform.SetParent(mainScreenContainer.transform);
            screenRedeemCoupons.GetComponent <RectTransform>().anchoredPosition = new Vector2(0, 0);
            Resizer.ResizeToParrent(screenRedeemCoupons);
            mainScreenContainer.GetComponentInParent <ScrollRect> ().content = screenRedeemCoupons.GetComponent <RectTransform> ();
            _couponController = screenRedeemCoupons.GetComponent <RedeemCouponViewController>();
            _couponController.InitScreen(base.Utils);
            _couponController._btnApply.onClick.AddListener(delegate
            {
                CouponApplyClick(_couponController.GetCode());
            });
        }
 public void ShowRedeemCoupon()
 {
     currentActive = ActiveScreen.REDEEM_COUPONS;
     GameObject screenRedeemCoupons = Instantiate(Resources.Load(PREFAB_SCREEN_REDEEM_COUPON)) as GameObject;
     // clear container
     Resizer.DestroyChilds(mainScreenContainer.transform);
     screenRedeemCoupons.transform.SetParent (mainScreenContainer.transform);
     screenRedeemCoupons.GetComponent<RectTransform>().anchoredPosition = new Vector2(0, 0);
     Resizer.ResizeToParrent (screenRedeemCoupons);
     mainScreenContainer.GetComponentInParent<ScrollRect> ().content = screenRedeemCoupons.GetComponent<RectTransform> ();
     _couponController = screenRedeemCoupons.GetComponent<RedeemCouponViewController>();
     _couponController.InitScreen(base.Utils);
     _couponController._btnApply.onClick.AddListener(delegate
         {
             CouponApplyClick(_couponController.GetCode());
         });
 }