VladimirPirozhenko 45b277e7d1 Initial commit
2022-08-07 07:31:16 +03:00

24 lines
478 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GroundState : MovingState
{
public GroundState(PlayerStateMachine playerStateMachine) : base(playerStateMachine)
{}
public override void OnStateEnter()
{
playerSM.PlayRunningAnimation(true);
}
public override void OnStateExit()
{
playerSM.PlayRunningAnimation(false);
}
public override void Tick()
{
base.Tick();
}
}