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); }
private void Awake() { RestartButton.AssignAction(RestartDungeon); MainMenuButton.AssignAction(GoToMainMenu); GameController.OnShowOutput += Show; }