// Use this for initialization private void Start() { visibilityComponent = GetLogicalComponent <VisibilityPanelComponent>(); selectionComponent = GetLogicalComponent <SelectionPanelComponent>(); if (stateUI == StateUI.Menu) { isOpenUI = true; DoChangePanel(firstUIObjectEnable); } SubscribeEvents(); InitOpenMenu(); }
// Use this for initialization private void Start() { visibilityComponent = GetLogicalComponent <VisibilityPanelComponent>(); selectionComponent = GetLogicalComponent <SelectionPanelComponent>(); InitOpenMenu(); }