mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 06:45:33 +00:00
23 lines
No EOL
675 B
C#
23 lines
No EOL
675 B
C#
using Cirno.Scripts.Components.Actors._3D;
|
|
using Godot;
|
|
|
|
namespace Cirno.Scripts.Components.FSM._3DPlayer;
|
|
|
|
public partial class UnTeleporting : BaseState<PlayerState, CharacterBody3D>
|
|
{
|
|
public override PlayerState StateId => PlayerState.UnTeleporting;
|
|
|
|
private PlayerAnimationProvider3D AnimationProvider { get; set; }
|
|
|
|
public override void Init(IStateMachine<PlayerState, CharacterBody3D> machine)
|
|
{
|
|
base.Init(machine);
|
|
AnimationProvider ??= StateMachine.GetModule<PlayerAnimationProvider3D>();
|
|
}
|
|
|
|
public override void EnterState()
|
|
{
|
|
base.EnterState();
|
|
AnimationProvider?.PlayUnteleportAnimation();
|
|
}
|
|
} |