mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-22 20:13:02 +00:00
Remove toggle lights
This commit is contained in:
parent
6ba73af243
commit
233bb3c472
1 changed files with 0 additions and 9 deletions
|
@ -407,15 +407,6 @@ namespace SanAndreasUnity.Behaviours.Vehicles
|
|||
|
||||
if (HasDriverSeat)
|
||||
{
|
||||
if (Input.GetKeyDown(KeyCode.L))
|
||||
{
|
||||
m_frontLeftLightPowered = !m_frontLeftLight;
|
||||
m_frontRightLightPowered = !m_frontRightLightPowered;
|
||||
|
||||
SetLight(VehicleLight.FrontLeft, m_frontLeftLightPowered ? VehicleAPI.frontLightIntensity : 0);
|
||||
SetLight(VehicleLight.FrontRight, m_frontRightLightPowered ? VehicleAPI.frontLightIntensity : 0);
|
||||
}
|
||||
|
||||
if (Braking > 0.125f)
|
||||
SetLight(VehicleLight.Rear, 1f);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue