static void Init() { AtlasEditorWindow window = (AtlasEditorWindow)EditorWindow.GetWindow(typeof(AtlasEditorWindow)); #if UNITY_5_0 window.title = windowTitle; #elif UNITY_5_1 window.titleContent = new GUIContent(windowTitle); #endif }
static void Init() { AtlasEditorWindow window = (AtlasEditorWindow)EditorWindow.GetWindow(typeof(AtlasEditorWindow)); window.titleContent = new GUIContent(windowTitle); }
static void Init() { AtlasEditorWindow window = (AtlasEditorWindow)EditorWindow.GetWindow(typeof(AtlasEditorWindow)); window.title = windowTitle; }