update 1.2.0
This commit is contained in:
@@ -18,7 +18,7 @@ namespace EmeraldAI.Utility
|
||||
SerializedProperty UseHitEffectProp;
|
||||
|
||||
//Bool
|
||||
SerializedProperty HideSettingsFoldout, HealthFoldout, HitEffectFoldout, ImmortalProp;
|
||||
SerializedProperty HideSettingsFoldout, HealthFoldout, HitEffectFoldout, ImmortalProp, AttachHitEffectsProp;
|
||||
|
||||
//Float
|
||||
SerializedProperty HitEffectTimeoutSecondsProp;
|
||||
@@ -46,6 +46,7 @@ namespace EmeraldAI.Utility
|
||||
HealthFoldout = serializedObject.FindProperty("HealthFoldout");
|
||||
HitEffectFoldout = serializedObject.FindProperty("HitEffectFoldout");
|
||||
ImmortalProp = serializedObject.FindProperty("Immortal");
|
||||
AttachHitEffectsProp = serializedObject.FindProperty("AttachHitEffects");
|
||||
|
||||
//Float
|
||||
HitEffectTimeoutSecondsProp = serializedObject.FindProperty("HitEffectTimeoutSeconds");
|
||||
@@ -171,6 +172,9 @@ namespace EmeraldAI.Utility
|
||||
{
|
||||
CustomEditorProperties.BeginIndent();
|
||||
|
||||
CustomEditorProperties.CustomPropertyField(AttachHitEffectsProp, "Attach Hit Effects", "Controls whether or not the Hit Effects will be attached to the AI when it's damaged.", true);
|
||||
EditorGUILayout.Space();
|
||||
|
||||
CustomEditorProperties.CustomHelpLabelField("The hit effect that will appear when this AI receives damage.", true);
|
||||
HitEffectsList.DoLayoutList();
|
||||
EditorGUILayout.Space();
|
||||
|
||||
Reference in New Issue
Block a user