SanAndreasUnity/Assets/Scripts/Behaviours/Ped/States/SprintState.cs

23 lines
590 B
C#
Raw Normal View History

2020-05-31 17:07:22 +00:00
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); } }
2020-02-11 14:42:13 +00:00
protected override void SwitchToAimState()
{
// don't switch to aim state
// we will switch to aim state from other movement states
}
2020-05-31 17:07:22 +00:00
}
}