protected override void Awake() { base.Awake(); charstate = Panel_CharState.GetComponent <CharStateBiggerPanel>(); attackinfo = Panel_AttackInfo.GetComponent <AttackInfoPanel>(); weaponselect = Panel_WeaponSelect.GetComponent <SelectWeapon>(); gameObject.SetActive(false);//刚开始不显示 }
protected override void Awake() { base.Awake(); tidyUp = this; csbp = CharStateBiggerPanel.GetComponent <CharStateBiggerPanel>(); ipTop = ItemsPanelTop.GetComponent <ItemPanel>(); ipBottom = ItemsPanelBottom.GetComponent <ItemPanel>(); this.gameObject.SetActive(false); ItemsPanelTop.SetActive(false); ItemCommand.SetActive(false); bWaitSelectSecond = false; }