mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-12-11 21:22:36 +00:00
23 lines
468 B
C#
23 lines
468 B
C#
using UnityEngine;
|
|
|
|
namespace SanAndreasUnity.Behaviours.Peds.States
|
|
{
|
|
|
|
public class DriveByFireState : DriveByState, IFireState
|
|
{
|
|
|
|
public override void StartFiring()
|
|
{
|
|
// ignore
|
|
|
|
}
|
|
|
|
public virtual void StopFiring()
|
|
{
|
|
// switch back to drive-by state
|
|
m_ped.GetStateOrLogError<DriveByState>().EnterVehicle(this.CurrentVehicle, this.CurrentVehicleSeatAlignment);
|
|
}
|
|
|
|
}
|
|
|
|
}
|