Ejemplo n.º 1
0
        // --------------------------------------------------------------------------------------------
        private void StartMenu_Exit()
        {
            StartMenuController startMenuController = gameObject.RequireComponent <StartMenuController>();

            startMenuController.Completed -= StartMenuController_Completed;
            startMenuController.enabled    = false;
        }
Ejemplo n.º 2
0
        // --------------------------------------------------------------------------------------------
        private void StartMenu_Enter()
        {
            StartMenuController startMenuController = gameObject.RequireComponent <StartMenuController>();

            startMenuController.Completed += StartMenuController_Completed;
            startMenuController.enabled    = true;
        }