r2mods/ilspy_dump/ror2_csproj/EntityStates.MoonElevator/Ready.cs

28 lines
607 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using RoR2;
using UnityEngine;
namespace EntityStates.MoonElevator;
public class Ready : MoonElevatorBaseState
{
private static int ReadyStateHash = Animator.StringToHash("Ready");
public override Interactability interactability => Interactability.Available;
public override bool goToNextStateAutomatically => false;
public override bool showBaseEffects => true;
public override void OnEnter()
{
base.OnEnter();
PlayAnimation("Base", ReadyStateHash);
}
protected override void OnInteractionBegin(Interactor activator)
{
base.OnInteractionBegin(activator);
_ = base.isAuthority;
}
}