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