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