r2mods/ilspy_dump/ror2_csproj/EntityStates.Heretic.Weapon/Squawk.cs

23 lines
393 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using RoR2;
using UnityEngine;
namespace EntityStates.Heretic.Weapon;
public class Squawk : EntityState
{
[SerializeField]
public string soundName;
public override void OnEnter()
{
base.OnEnter();
Util.PlaySound(soundName, base.gameObject);
outer.SetNextStateToMain();
}
public override InterruptPriority GetMinimumInterruptPriority()
{
return InterruptPriority.Death;
}
}