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

24 lines
458 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
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;
}
}