add some extra assets FX and SFX
This commit is contained in:
@@ -840,7 +840,7 @@ public class actionSystemEditor : Editor
|
||||
|
||||
EditorGUILayout.PropertyField (list.FindPropertyRelative ("ignorePlayerRotationToCameraOnFBA"));
|
||||
EditorGUILayout.PropertyField (list.FindPropertyRelative ("playerCameraTransformFollowsPlayerTransformRotationOnFBA"));
|
||||
|
||||
|
||||
EditorGUILayout.PropertyField (list.FindPropertyRelative ("resetCameraRotationForwardOnFBA"));
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
@@ -907,6 +907,16 @@ public class actionSystemEditor : Editor
|
||||
list.FindPropertyRelative ("addHealthAmountOnAction").boolValue) {
|
||||
|
||||
EditorGUILayout.PropertyField (list.FindPropertyRelative ("setHealthOnActionEnd"));
|
||||
|
||||
if (!list.FindPropertyRelative ("setHealthOnActionEnd").boolValue) {
|
||||
|
||||
EditorGUILayout.PropertyField (list.FindPropertyRelative ("useWaitTimeToChangeHealth"));
|
||||
|
||||
if (list.FindPropertyRelative ("useWaitTimeToChangeHealth").boolValue) {
|
||||
|
||||
EditorGUILayout.PropertyField (list.FindPropertyRelative ("waitTimeToChangeHealth"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
|
||||
Reference in New Issue
Block a user