Пример #1
0
    public void OpenMenu(int choice)
    {
        MenuOpened = choice;
        MenuAudio.PlayMenuInGameAudio();

        switch (choice)
        {
        case 1: settingsMenu.ActivateMenu(); break;

        case 2: characterMenu.ActivateMenu(); break;

        case 3: break;
        }
        ExitMenu.interactable = true;
    }