r2mods/ilspy_dump/ror2_csproj/EntityStates.MinorConstruct.../FireConstructBeam.cs

24 lines
458 B
C#

using UnityEngine;
namespace EntityStates.MinorConstruct.Weapon;
public class FireConstructBeam : GenericProjectileBaseState
{
[SerializeField]
public string animationLayerName;
[SerializeField]
public string animationStateName;
public override void OnEnter()
{
base.OnEnter();
PlayAnimation(animationLayerName, animationStateName);
}
public override InterruptPriority GetMinimumInterruptPriority()
{
return InterruptPriority.Skill;
}
}