add some extra assets FX and SFX

This commit is contained in:
Robii Aragon
2026-03-29 23:03:14 -07:00
parent 6ef3eb1535
commit 24dc66a81e
10142 changed files with 2535978 additions and 36608 deletions

View File

@@ -116,6 +116,15 @@ public class abilityInfo : MonoBehaviour
public bool useEnergyOnceOnPressDown;
public bool useEnergyOnceOnPressUp;
[Space]
[Header ("Animation Settings")]
[Space]
public bool useAnimationWithActionSystem;
public string animationActionSystemName;
public bool useAnimationOnPressDown;
public bool useAnimationOnPressUp;
[Space]
[Header ("Ability Components")]
[Space]
@@ -252,6 +261,24 @@ public class abilityInfo : MonoBehaviour
}
public void checkIfUseAnimationWithActionSystemOnPressDown ()
{
if (useAnimationWithActionSystem) {
if (useAnimationOnPressDown) {
mainPlayerAbilitiesSystem.activateCustomAction (animationActionSystemName);
}
}
}
public void checkIfUseAnimationWithActionSystemOnPressUp ()
{
if (useAnimationWithActionSystem) {
if (useAnimationOnPressUp) {
mainPlayerAbilitiesSystem.activateCustomAction (animationActionSystemName);
}
}
}
public void checkEventOnSetCurrentAbility ()
{
if (useEventsOnSetCurrentAbility) {