r2mods/ilspy_dump/ror2_csproj/EntityStates.Barrel/Opened.cs

16 lines
289 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using UnityEngine;
namespace EntityStates.Barrel;
public class Opened : EntityState
{
private static int OpenedStateHash = Animator.StringToHash("Opened");
public override void OnEnter()
{
base.OnEnter();
PlayAnimation("Body", OpenedStateHash);
SetPingable(value: false);
}
}