Exemple #1
0
 void Awake()
 {
     ins = this;
     this._panel_left           = this.GetComponentInChildren <UIPanelLeft>();
     this._panel_level_one      = this.GetComponentInChildren <UIPanelLevelOne>();
     this._panel_level_two      = this.GetComponentInChildren <UIPanelLevelTwo>();
     this._panel_up             = this.GetComponentInChildren <UIPanelUp>();
     this._panel_common_overlay = this.GetComponentInChildren <UIPanelCommonOverlay>();
     this._panel_show_hide      = this.GetComponentInChildren <UIPanelShowHide>();
     this._touch = this.GetComponent <Touch>();
 }
Exemple #2
0
 void Awake()
 {
     root             = this.GetComponent <UIRoot>();
     _panel_up        = this.GetComponentInChildren <UIPanelUp>();
     _panel_level_two = this.GetComponentInChildren <UIPanelLevelTwo>();
 }
Exemple #3
0
 void Awake()
 {
     ins       = this;
     this.root = this.GetComponentInParent <UIRoot>();
 }
Exemple #4
0
 void Awake()
 {
     _panel_up = UIRoot.ins._panel_up;// this.transform.root.GetComponentInChildren<UIPanelUp>();
     this.OnAwake();
 }