r2mods/ilspy_dump/ror2_csproj/EntityStates.BrotherMonster/SlideForwardState.cs

20 lines
409 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using UnityEngine;
namespace EntityStates.BrotherMonster;
public class SlideForwardState : BaseSlideState
{
public override void OnEnter()
{
slideRotation = Quaternion.identity;
base.OnEnter();
PlayCrossfade("FullBody Override", "SlideForward", "Slide.playbackRate", BaseSlideState.duration, 0.05f);
PlayCrossfade("Body", "Run", 0.05f);
}
public override void OnExit()
{
base.OnExit();
}
}