Remove unused code

This commit is contained in:
in0finite 2019-05-23 01:35:47 +02:00
parent 32737f4618
commit 03de3a068d

View file

@ -159,23 +159,13 @@ namespace SanAndreasUnity.Behaviours.Vehicles
bool m_isServer => Net.NetStatus.IsServer;
public bool IsControlledByLocalPlayer => Ped.Instance != null && Ped.Instance.CurrentVehicle == this && Ped.Instance.CurrentVehicleSeat.IsDriver;
#if CLIENT
protected override void OnAwake()
{
_props = new MaterialPropertyBlock();
base.OnAwake();
}
#else
// Must review
private void Awake()
{
_props = new MaterialPropertyBlock();
}
#endif
public void SetColors(params int[] clrIndices)
{
for (var i = 0; i < 4 && i < clrIndices.Length; ++i)