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() { ins = this; this.root = this.GetComponentInParent <UIRoot>(); }
void Awake() { _panel_level_one = UIRoot.ins._panel_level_one; }