public void Start() { videoSettingsWindow = UIManager.Instance.GetWindow <VideoSettingsWindow>(); languageSettingsWindow = UIManager.Instance.GetWindow <LanguageSettingsWindow>(); audioSettingsWindow = UIManager.Instance.GetWindow <AudioSettingsWindow>(); controlSettingsWindow = UIManager.Instance.GetWindow <ControlSettingsWindow>(); videoSettingsWindow.OnOpen += ChangeCurrentWindow; languageSettingsWindow.OnOpen += ChangeCurrentWindow; audioSettingsWindow.OnOpen += ChangeCurrentWindow; controlSettingsWindow.OnOpen += ChangeCurrentWindow; }
public static void LanguageSetting() { LanguageSettingsWindow languageSettings = EditorWindow.GetWindow <LanguageSettingsWindow>(); languageSettings.Show(); }