update 1.2.5
This commit is contained in:
@@ -27,6 +27,7 @@ namespace EmeraldAI.Utility
|
||||
SerializedProperty OutlineEffect;
|
||||
SerializedProperty UseAnimateFontSize;
|
||||
SerializedProperty TextHeight;
|
||||
SerializedProperty VRSupport;
|
||||
|
||||
[MenuItem("Window/Emerald AI/Combat Text Manager #%c", false, 200)]
|
||||
public static void ShowWindow()
|
||||
@@ -61,6 +62,7 @@ namespace EmeraldAI.Utility
|
||||
OutlineEffect = serializedObject.FindProperty("OutlineEffect");
|
||||
UseAnimateFontSize = serializedObject.FindProperty("UseAnimateFontSize");
|
||||
TextHeight = serializedObject.FindProperty("DefaultHeight");
|
||||
VRSupport = serializedObject.FindProperty("VRSupport");
|
||||
}
|
||||
|
||||
void OnGUI()
|
||||
@@ -131,6 +133,12 @@ namespace EmeraldAI.Utility
|
||||
GUI.backgroundColor = Color.white;
|
||||
EditorGUILayout.Space();
|
||||
|
||||
EditorGUILayout.PropertyField(VRSupport, new GUIContent("VR Support"));
|
||||
GUI.backgroundColor = new Color(0.1f, 0.1f, 0.1f, 0.19f);
|
||||
EditorGUILayout.HelpBox("Changes the Combat Text System's canvas to World Space to allow it to work with VR (this setting cannot be changed during runtime as it's set up when the CTS is initialized).", MessageType.None, true);
|
||||
GUI.backgroundColor = Color.white;
|
||||
EditorGUILayout.Space();
|
||||
|
||||
EditorGUILayout.PropertyField(TextHeight, new GUIContent("Combat Text Height"));
|
||||
GUI.backgroundColor = new Color(0.1f, 0.1f, 0.1f, 0.19f);
|
||||
EditorGUILayout.HelpBox("Controls the overall height the Combat Text will spawn above targets.", MessageType.None, true);
|
||||
|
||||
Reference in New Issue
Block a user