SanAndreasUnity/Assets/Scripts/Behaviours/Ped/States/SprintState.cs
2020-05-31 19:09:52 +02:00

22 lines
590 B
C#

using UnityEngine;
using SanAndreasUnity.Utilities;
using SanAndreasUnity.Importing.Animation;
namespace SanAndreasUnity.Behaviours.Peds.States
{
public class SprintState : BaseMovementState
{
public override AnimId movementAnim { get { return new AnimId (AnimGroup.MyWalkCycle, AnimIndex.sprint_civi); } }
public override AnimId movementWeaponAnim { get { return new AnimId (AnimGroup.MyWalkCycle, AnimIndex.sprint_civi); } }
protected override void SwitchToAimState()
{
// don't switch to aim state
// we will switch to aim state from other movement states
}
}
}