コード例 #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();
 }