mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-14 16:27:19 +00:00
Remove unused code
This commit is contained in:
parent
32737f4618
commit
03de3a068d
1 changed files with 0 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue