add some extra assets FX and SFX
This commit is contained in:
@@ -154,6 +154,8 @@ public class grabbedObjectMeleeAttackSystemEditor : Editor
|
||||
|
||||
SerializedProperty parentToPlaceTriggerInFrontOfCharacter;
|
||||
|
||||
SerializedProperty parentToPlaceTriggerInFrontOfCharacterFBA;
|
||||
|
||||
SerializedProperty mainMeleeCombatThrowReturnWeaponSystem;
|
||||
|
||||
|
||||
@@ -217,10 +219,18 @@ public class grabbedObjectMeleeAttackSystemEditor : Editor
|
||||
|
||||
SerializedProperty drawMeleeWeaponIfAttackInputPressedEnabled;
|
||||
|
||||
SerializedProperty useQuickDrawIfAttackInputPressed;
|
||||
|
||||
SerializedProperty mainMeleeUISystem;
|
||||
|
||||
SerializedProperty minWaitTimeToUseSingleAttackType;
|
||||
|
||||
SerializedProperty ignoreDeflectProjectilesOnAttackOnAllWeapons;
|
||||
SerializedProperty ignoreDeflectProjectilesOnBlockOnAllWeapons;
|
||||
|
||||
SerializedProperty useAttackInputStack;
|
||||
SerializedProperty maxAmountOfAttackInputStack;
|
||||
|
||||
|
||||
GUIStyle sectionStyle = new GUIStyle ();
|
||||
|
||||
@@ -401,6 +411,8 @@ public class grabbedObjectMeleeAttackSystemEditor : Editor
|
||||
|
||||
parentToPlaceTriggerInFrontOfCharacter = serializedObject.FindProperty ("parentToPlaceTriggerInFrontOfCharacter");
|
||||
|
||||
parentToPlaceTriggerInFrontOfCharacterFBA = serializedObject.FindProperty ("parentToPlaceTriggerInFrontOfCharacterFBA");
|
||||
|
||||
mainMeleeCombatThrowReturnWeaponSystem = serializedObject.FindProperty ("mainMeleeCombatThrowReturnWeaponSystem");
|
||||
|
||||
|
||||
@@ -464,9 +476,17 @@ public class grabbedObjectMeleeAttackSystemEditor : Editor
|
||||
|
||||
drawMeleeWeaponIfAttackInputPressedEnabled = serializedObject.FindProperty ("drawMeleeWeaponIfAttackInputPressedEnabled");
|
||||
|
||||
useQuickDrawIfAttackInputPressed = serializedObject.FindProperty ("useQuickDrawIfAttackInputPressed");
|
||||
|
||||
mainMeleeUISystem = serializedObject.FindProperty ("mainMeleeUISystem");
|
||||
|
||||
minWaitTimeToUseSingleAttackType = serializedObject.FindProperty ("minWaitTimeToUseSingleAttackType");
|
||||
|
||||
ignoreDeflectProjectilesOnAttackOnAllWeapons = serializedObject.FindProperty ("ignoreDeflectProjectilesOnAttackOnAllWeapons");
|
||||
ignoreDeflectProjectilesOnBlockOnAllWeapons = serializedObject.FindProperty ("ignoreDeflectProjectilesOnBlockOnAllWeapons");
|
||||
|
||||
useAttackInputStack = serializedObject.FindProperty ("useAttackInputStack");
|
||||
maxAmountOfAttackInputStack = serializedObject.FindProperty ("maxAmountOfAttackInputStack");
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI ()
|
||||
@@ -497,12 +517,23 @@ public class grabbedObjectMeleeAttackSystemEditor : Editor
|
||||
|
||||
EditorGUILayout.PropertyField (drawMeleeWeaponIfAttackInputPressedEnabled);
|
||||
|
||||
if (drawMeleeWeaponIfAttackInputPressedEnabled.boolValue) {
|
||||
EditorGUILayout.PropertyField (useQuickDrawIfAttackInputPressed);
|
||||
}
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
|
||||
EditorGUILayout.PropertyField (minWaitTimeToUseSingleAttackType);
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
|
||||
EditorGUILayout.PropertyField (useAttackInputStack);
|
||||
if (useAttackInputStack.boolValue) {
|
||||
EditorGUILayout.PropertyField (maxAmountOfAttackInputStack);
|
||||
}
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
|
||||
EditorGUILayout.PropertyField (useAttackTypes);
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
@@ -688,6 +719,12 @@ public class grabbedObjectMeleeAttackSystemEditor : Editor
|
||||
EditorGUILayout.PropertyField (blockModeEnabled);
|
||||
EditorGUILayout.PropertyField (generalBlockProtectionMultiplier);
|
||||
EditorGUILayout.PropertyField (cancelBlockReactionStateName);
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
|
||||
EditorGUILayout.PropertyField (ignoreDeflectProjectilesOnAttackOnAllWeapons);
|
||||
EditorGUILayout.PropertyField (ignoreDeflectProjectilesOnBlockOnAllWeapons);
|
||||
|
||||
GUILayout.EndVertical ();
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
@@ -936,6 +973,7 @@ public class grabbedObjectMeleeAttackSystemEditor : Editor
|
||||
EditorGUILayout.PropertyField (handPositionReference);
|
||||
EditorGUILayout.PropertyField (mainAudioSource);
|
||||
EditorGUILayout.PropertyField (parentToPlaceTriggerInFrontOfCharacter);
|
||||
EditorGUILayout.PropertyField (parentToPlaceTriggerInFrontOfCharacterFBA);
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user