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>(); }
void Awake() { root = this.GetComponent <UIRoot>(); _panel_up = this.GetComponentInChildren <UIPanelUp>(); _panel_level_two = this.GetComponentInChildren <UIPanelLevelTwo>(); }
void Awake() { ins = this; this.root = this.GetComponentInParent <UIRoot>(); }
void Awake() { _panel_level_two = UIRoot.ins._panel_level_two; }