protected override void AwakeSingleton() { MainButtonsWindow.Init(); SelectLevelWindow.Init(); SettingsWindow.Init(); KeyBindingWindow.Init(); SelectLevelWindow.SetActive(false); SettingsWindow.SetActive(false); KeyBindingWindow.SetActive(false); Blocker.SetActive(false); CurrentWindow = MainButtonsWindow; }
private void KeyBindingBtn_Click(object sender, RoutedEventArgs e) { var bind = new KeyBindingWindow(); bind.Show(); }