File tree Expand file tree Collapse file tree
Source/Assets/TouchScript/Editor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ internal static class GUIElements
1818 public static GUIStyle HeaderCheckbox ;
1919 public static GUIStyle HeaderFoldout ;
2020 public static GUIStyle SmallText ;
21+ public static GUIStyle SmallTextRight ;
2122 public static GUIStyle SmallButton ;
2223
2324 public static Texture2D PaneOptionsIcon ;
@@ -60,6 +61,11 @@ static GUIElements()
6061 alignment = TextAnchor . UpperLeft ,
6162 } ;
6263
64+ SmallTextRight = new GUIStyle ( "miniLabel" )
65+ {
66+ alignment = TextAnchor . UpperRight ,
67+ } ;
68+
6369 SmallButton = new GUIStyle ( "Button" )
6470 {
6571 fontSize = SmallText . fontSize ,
Original file line number Diff line number Diff line change @@ -121,6 +121,8 @@ public override void OnInspectorGUI()
121121 drawDebug ( ) ;
122122 }
123123
124+ GUILayout . Label ( "v. " + TouchManager . VERSION + ( string . IsNullOrEmpty ( TouchManager . VERSION_SUFFIX ) ? "" : " " + TouchManager . VERSION_SUFFIX ) , GUIElements . SmallTextRight ) ;
125+
124126 serializedObject . ApplyModifiedProperties ( ) ;
125127 }
126128
You can’t perform that action at this time.
0 commit comments