private void SetSelection(UnityEngine.GameObject panelToSetSelected) { activePanel = panelToSetSelected; activePanelMenuObject = activePanel.GetComponent <MenuObject>(); if (activePanelMenuObject != null) { activePanelMenuObject.SetFirstSelected(); } }
private void SetSelection(GameObject panelToSetSelected) { activePanelMenuObject = activePanel.GetComponent <MenuObject>(); if (activePanelMenuObject != null) { activePanelMenuObject.SetFirstSelected(); } menuSelected = true; }