示例#1
0
        // --------------------------------------------------------------------------------------------
        private void StartMenuController_Completed(object ssender, ControllerCompletedEventArgs e)
        {
            StartMenuController startMenuController = gameObject.RequireComponent <StartMenuController>();

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

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