Skip to content

Commit 6166bd3

Browse files
fixed minor typo in private method. no breaking changes.
1 parent 129b1cd commit 6166bd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/HoloToolkit/Input/Scripts/Gaze/GazeManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ private void RaycastUnityUI()
225225
// Graphics raycast
226226
raycastResultList.Clear();
227227
EventSystem.current.RaycastAll(UnityUIPointerEvent, raycastResultList);
228-
RaycastResult uiRaycastResult = FindClosestRaycastHitInLayermasks(raycastResultList, RaycastLayerMasks);
228+
RaycastResult uiRaycastResult = FindClosestRaycastHitInLayerMasks(raycastResultList, RaycastLayerMasks);
229229
UnityUIPointerEvent.pointerCurrentRaycast = uiRaycastResult;
230230

231231
// If we have a raycast result, check if we need to overwrite the 3D raycast info
@@ -289,7 +289,7 @@ private void RaycastUnityUI()
289289
/// <param name="candidates">List of RaycastResults from a Unity UI raycast</param>
290290
/// <param name="layerMaskList">List of layers to support</param>
291291
/// <returns>RaycastResult if hit, or an empty RaycastResult if nothing was hit</returns>
292-
private RaycastResult FindClosestRaycastHitInLayermasks(List<RaycastResult> candidates, LayerMask[] layerMaskList)
292+
private RaycastResult FindClosestRaycastHitInLayerMasks(List<RaycastResult> candidates, LayerMask[] layerMaskList)
293293
{
294294
int combinedLayerMask = 0;
295295
for (int i = 0; i < layerMaskList.Length; i++)

0 commit comments

Comments
 (0)