예제 #1
0
        public override void init()
        {
            a3_QHmaster.instance = this;
            this.refreshDashi();
            BaseButton baseButton  = new BaseButton(base.transform.FindChild("close"), 1, 1);
            BaseButton baseButton2 = new BaseButton(base.transform.FindChild("touch"), 1, 1);

            baseButton.onClick  = new Action <GameObject>(this.onCloseDashi);
            baseButton2.onClick = new Action <GameObject>(this.onCloseDashi);
        }
예제 #2
0
        public override void init()
        {
            instance = this;
            refreshDashi();
            BaseButton CloseDAshi  = new BaseButton(transform.FindChild("close"));
            BaseButton CloseDashi1 = new BaseButton(transform.FindChild("touch"));

            CloseDAshi.onClick  = onCloseDashi;
            CloseDashi1.onClick = onCloseDashi;
        }