public void Initialize() { createLevelButton.onClick.AddListener(() => { editor.New((int)linesSlider.value, (int)columnsSlider.value); }); saveLevelButton.onClick.AddListener(editor.Save); levelTitleInput.onEndEdit.AddListener(editor.SetTitle); enemyCreateButton.onClick.AddListener(() => { editor.CreateEnemy((int)enemyLevelSlider.value, enemyClassDropdown.value); }); enemyResetButton.onClick.AddListener(() => { editor.ResetNode(); }); }