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

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

        menuSelected = true;
    }