Skip to content

Commit 4ba4da9

Browse files
committed
Change title appearance in Unity 5.
1 parent f701a3b commit 4ba4da9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Assets/Script Tester/Editor/InspectorPlus.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ class InspectorPlus : EditorWindow {
2323
int[] instanceIds = new int[0];
2424

2525
void OnEnable() {
26+
#if UNITY_4
2627
title = "Inspector+";
28+
#else
29+
titleContent = new GUIContent ("Inspector+", EditorGUIUtility.FindTexture ("UnityEditor.InspectorWindow"));
30+
#endif
2731
OnFocus();
2832
}
2933

ProjectSettings/ProjectVersion.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
m_EditorVersion: 5.0.0f4
1+
m_EditorVersion: 5.1.2f1
22
m_StandardAssetsVersion: 0

0 commit comments

Comments
 (0)