Exemplo n.º 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>();
 }
Exemplo n.º 2
0
 void Awake()
 {
     ins       = this;
     this.root = this.GetComponentInParent <UIRoot>();
 }