Skip to content

Commit

Permalink
Fixed laser showing under confirmation popups
Browse files Browse the repository at this point in the history
  • Loading branch information
Raicuparta committed Jan 29, 2022
1 parent 268db32 commit 2e98ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TwoForksVr/src/LaserPointer/Laser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private void Start()
lineRenderer.startColor = Color.clear;
lineRenderer.material.shader = Shader.Find("Particles/Alpha Blended Premultiply");
lineRenderer.material.SetColor(ShaderProperty.Color, Color.white);
lineRenderer.sortingOrder = 1000;
lineRenderer.sortingOrder = 10000;
lineRenderer.enabled = false;

inputModule = LaserInputModule.Create(this);
Expand Down

0 comments on commit 2e98ba4

Please sign in to comment.