Exemple #1
0
    private void Awake()
    {
        OpenFileButton.AssignAction(OpenFileMenu);
        RunButton.AssignAction(Run);

        FilePathInput.onValueChanged.AddListener((input) =>
        {
            if (input.Length > 0)
            {
                DefaultMapDropDown.interactable = false;
                return;
            }
            DefaultMapDropDown.interactable = true;
        });

        //PersonaDropDown.onValueChanged.AddListener(HandlePersonaDropDownChanged);
    }
Exemple #2
0
 private void Awake()
 {
     RestartButton.AssignAction(RestartDungeon);
     MainMenuButton.AssignAction(GoToMainMenu);
     GameController.OnShowOutput += Show;
 }