Exemple #1
0
 private void SetSelection(UnityEngine.GameObject panelToSetSelected)
 {
     activePanel           = panelToSetSelected;
     activePanelMenuObject = activePanel.GetComponent <MenuObject>();
     if (activePanelMenuObject != null)
     {
         activePanelMenuObject.SetFirstSelected();
     }
 }
Exemple #2
0
    private void SetSelection(GameObject panelToSetSelected)
    {
        activePanelMenuObject = activePanel.GetComponent <MenuObject>();

        if (activePanelMenuObject != null)
        {
            activePanelMenuObject.SetFirstSelected();
        }

        menuSelected = true;
    }