示例#1
0
    public void SelectedDialogue(int choice)
    {
        switch (choice)
        {
        case 1:
            if (!classActivityController.HasEvent() || (classActivityController.HasEvent() && classActivityController.HasFinishEvent()))
            {
                SwitchScene.Instance.DisplaySaving(true);
            }
            else
            {
                menuController.Close(GameManager.Instance.CurrentGameScene);
                notificationController.HasEventToFinish();
            }

            break;

        case 2:
            menuController.Close(GameManager.Instance.CurrentGameScene);
            break;
        }
    }