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

14 lines
329 B
C#

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