Пример #1
0
 public override void Init()
 {
     base.Init();
     this.transform.MyGetCompoent(null, out this.panel);
     this.transform.MyGetCompoent("Anchor/inBattle/Text", out this.label_text);
     this.cCom = this.transform.FindChild("Anchor").GetComponent <CoroutineCom>();
 }
Пример #2
0
 public override void Init()
 {
     base.Init();
     this.msgs = new object[]
     {
         ClientC2V.WaitingView_text,
         ClientC2V.WaitingView_show,
         ClientC2V.WaitingView_normal
     };
     this.transform.MyGetCompoent(null, out this.panel);
     this.transform.MyGetCompoent("Anchor/inBattle/Text", out this.label_text);
     this.goInBattle = this.transform.FindChild("Anchor/inBattle").gameObject;
     this.goNormal   = this.transform.FindChild("Anchor/normal").gameObject;
     this.cCom       = this.transform.FindChild("Anchor").GetComponent <CoroutineCom>();
     this.Regist();
 }