Skip to content

Commit 3abc783

Browse files
committed
Update property naming convention
1 parent 84d3e42 commit 3abc783

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Assets/MixedRealityToolkit.Services/InputSimulation/SimulatedGestureHand.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class SimulatedGestureHand : SimulatedHand
3232
private Vector3 cumulativeDelta = Vector3.zero;
3333
private MixedRealityPose currentGripPose = MixedRealityPose.ZeroIdentity;
3434

35-
private Vector3 navigationDelta => new Vector3(
35+
private Vector3 NavigationDelta => new Vector3(
3636
Mathf.Clamp(cumulativeDelta.x, -1.0f, 1.0f) * currentRailsUsed.x,
3737
Mathf.Clamp(cumulativeDelta.y, -1.0f, 1.0f) * currentRailsUsed.y,
3838
Mathf.Clamp(cumulativeDelta.z, -1.0f, 1.0f) * currentRailsUsed.z);
@@ -293,15 +293,15 @@ private void UpdateNavigation()
293293
if (navigationInProgress)
294294
{
295295
UpdateNavigationRails();
296-
CoreServices.InputSystem?.RaiseGestureUpdated(this, navigationAction, navigationDelta);
296+
CoreServices.InputSystem?.RaiseGestureUpdated(this, navigationAction, NavigationDelta);
297297
}
298298
}
299299

300300
private bool TryCompleteNavigation()
301301
{
302302
if (navigationInProgress)
303303
{
304-
CoreServices.InputSystem?.RaiseGestureCompleted(this, navigationAction, navigationDelta);
304+
CoreServices.InputSystem?.RaiseGestureCompleted(this, navigationAction, NavigationDelta);
305305
navigationInProgress = false;
306306
return true;
307307
}

0 commit comments

Comments
 (0)