mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-23 20:43:04 +00:00
22 lines
590 B
C#
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
|
|
}
|
|
|
|
}
|
|
|
|
}
|