mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-27 14:30:17 +00:00
27 lines
609 B
C#
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|