Ejemplo n.º 1
0
        public override void init()
        {
            a3_LHlianjie.instance = this;
            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.onClose);
            baseButton2.onClick = new Action <GameObject>(this.onClose);
            this.con            = base.transform.FindChild("view/con").GetComponent <RectTransform>();
            this.initLianjie();
        }
Ejemplo n.º 2
0
        //Transform isthis;
        public override void init()
        {
            intext();
            instance = this;
            BaseButton Closelianjie  = new BaseButton(transform.FindChild("close"));
            BaseButton Closelianjie1 = new BaseButton(transform.FindChild("touch"));

            Closelianjie.onClick  = onClose;
            Closelianjie1.onClick = onClose;
            con = transform.FindChild("view/con").GetComponent <RectTransform>();
            //isthis = transform.FindChild("isthis");
            //initLianjie();
        }