Example #1
0
 protected override void ReleaseSelf(bool calledDestroy)
 {
     if (SystemConfig.IsReleaseResourceOn)
     {
         GiftExchangeUI.Instance = null;
         base.ReleaseSelf(true);
     }
 }
Example #2
0
 private void Awake()
 {
     GiftExchangeUI.Instance = this;
     base.AwakeBase(BindingContext.BindingContextMode.MonoBinding, false);
     this.inputNumber = base.FindTransform("Input").GetComponent <InputField>();
     base.FindTransform("BtnConfirm").GetComponent <ButtonCustom>().onClickCustom = new ButtonCustom.VoidDelegateObj(this.OnClickOk);
     base.FindTransform("CloseBtn").GetComponent <ButtonCustom>().onClickCustom   = new ButtonCustom.VoidDelegateObj(this.OnClickBtnClose);
 }