示例#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>();
 }
示例#2
0
 void Awake()
 {
     ins       = this;
     this.root = this.GetComponentInParent <UIRoot>();
 }
示例#3
0
 void Awake()
 {
     _panel_level_one = UIRoot.ins._panel_level_one;
 }