SanAndreasUnity/Assets/Scripts/Behaviours/Ped/States/StandState.cs
2021-12-19 02:01:13 +01:00

27 lines
609 B
C#

using UnityEngine;
using SanAndreasUnity.Utilities;
using SanAndreasUnity.Importing.Animation;
namespace SanAndreasUnity.Behaviours.Peds.States
{
public class StandState : BaseMovementState
{
public override AnimId movementAnim { get { return new AnimId (AnimGroup.WalkCycle, AnimIndex.Idle); } }
public override AnimId movementWeaponAnim { get { return m_ped.CurrentWeapon.IdleAnim; } }
public override float TimeUntilStateCanBeSwitchedToOtherMovementState => 0f;
public override void UpdateState() {
base.UpdateState();
if (!this.IsActiveState)
return;
}
}
}