mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-02-17 05:18:27 +00:00
24 lines
468 B
C#
24 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);
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
}
|