private void CreateEditor() { if (_instance == null || _instance._editorPrefs == null) { _instance = (LocalisationEditorWindow)GetWindow(typeof(LocalisationEditorWindow), false, kWindowWindowName); _instance.Init(); } }
private static void CreateWindow() { // Get existing open window or if none, make a new one: _instance = (LocalisationEditorWindow)GetWindow(typeof(LocalisationEditorWindow), false, kWindowWindowName); _instance.Init(); }