mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-02-17 05:18:27 +00:00
remove old code
This commit is contained in:
parent
7b4d256008
commit
0d3d8e3dce
1 changed files with 0 additions and 22 deletions
|
@ -115,28 +115,6 @@ namespace SanAndreasUnity.Behaviours.Vehicles
|
|||
|
||||
public static int MeshLayer => UnityEngine.LayerMask.NameToLayer("VehicleMesh");
|
||||
|
||||
private static int _sLightsId = -1;
|
||||
|
||||
protected static int LightsId
|
||||
{
|
||||
get
|
||||
{
|
||||
return _sLightsId == -1 ? _sLightsId = Shader.PropertyToID("_Lights") : _sLightsId;
|
||||
}
|
||||
}
|
||||
|
||||
private static int[] _sCarColorIds;
|
||||
|
||||
public static int[] CarColorIds
|
||||
{
|
||||
get
|
||||
{
|
||||
return _sCarColorIds ?? (_sCarColorIds = Enumerable.Range(1, 4)
|
||||
.Select(x => Shader.PropertyToID(string.Format("_CarColor{0}", x)))
|
||||
.ToArray());
|
||||
}
|
||||
}
|
||||
|
||||
private readonly int[] _colors = { 0, 0, 0, 0 };
|
||||
public int[] Colors => _colors;
|
||||
private readonly float[] _lights = { 0, 0, 0, 0 };
|
||||
|
|
Loading…
Add table
Reference in a new issue