Esempio n. 1
0
        public override void init()
        {
            a3_giftCard.instance = this;
            BaseButton baseButton = new BaseButton(base.transform.FindChild("btn_do"), 1, 1);

            baseButton.onClick = new Action <GameObject>(this.onBtnClose);
        }
        public override void init()
        {
            inText();
            instance = this;
            BaseButton btnClose = new BaseButton(transform.FindChild("btn_do"));

            btnClose.onClick = onBtnClose;
        }