static void Init() { ItemExplorerWindow window = (ItemExplorerWindow)EditorWindow.GetWindow(typeof(ItemExplorerWindow)); #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() { ItemExplorerWindow window = (ItemExplorerWindow)EditorWindow.GetWindow(typeof(ItemExplorerWindow)); window.titleContent = new GUIContent(windowTitle); }