Skip to content

Commit

Permalink
Update EvaPatrol.cs
Browse files Browse the repository at this point in the history
Updated shader reference
  • Loading branch information
linuxgurugamer authored Jan 30, 2020
1 parent 3219a4c commit 03090d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ControlTypes/EvaPatrol.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public EvaPatrol()
lineRenderer = new GameObject().AddComponent<LineRenderer>();

lineRenderer.useWorldSpace = false;
lineRenderer.material = new Material(Shader.Find("Particles/Additive"));
lineRenderer.material = new Material(Shader.Find("Legacy Shaders/Particles/Additive"));
lineRenderer.startWidth = 0.05f;
lineRenderer.endWidth = 0.05f;
//lineRenderer.SetColors(Color.green, Color.red);
Expand Down

0 comments on commit 03090d3

Please sign in to comment.