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

14 lines
337 B
C#

using UnityEngine;
namespace EntityStates.BrotherMonster;
public class SlideBackwardState : BaseSlideState
{
public override void OnEnter()
{
slideRotation = Quaternion.AngleAxis(-180f, Vector3.up);
base.OnEnter();
PlayCrossfade("FullBody Override", "SlideBackward", "Slide.playbackRate", BaseSlideState.duration, 0.05f);
}
}