Skip to content

Commit e3dabed

Browse files
committed
2 parents 432dda5 + 6a029f3 commit e3dabed

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Assets/HoloToolkit/Utilities/Scripts/NearPlaneFade.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ public class NearPlaneFade : MonoBehaviour
2020

2121
private int fadeDistancePropertyID;
2222

23-
void Awake()
23+
private void Awake()
2424
{
2525
fadeDistancePropertyID = Shader.PropertyToID("_NearPlaneFadeDistance");
2626
UpdateShaderParams();
2727
}
2828

29-
void OnValidate()
29+
private void OnValidate()
3030
{
3131
UpdateShaderParams();
3232
}
@@ -54,4 +54,4 @@ private void UpdateShaderParams()
5454
}
5555
}
5656
}
57-
}
57+
}

Assets/HoloToolkit/Utilities/Shaders/FastConfigurable/Scripts/CalibrationSpace.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ namespace HoloToolkit.Unity
1010
/// </summary>
1111
public class CalibrationSpace : MonoBehaviour
1212
{
13-
void Update()
13+
private void Update()
1414
{
1515
Shader.SetGlobalMatrix("CalibrationSpaceWorldToLocal", transform.worldToLocalMatrix);
1616
Shader.SetGlobalMatrix("CalibrationSpaceLocalToWorld", transform.localToWorldMatrix);
1717
}
1818
}
19-
}
19+
}

0 commit comments

Comments
 (0)