mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-23 12:33:02 +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);
|
|
}
|
|
|
|
}
|
|
|
|
}
|