Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
Updated control input to use GetAxisRaw instead of GetAxis
Browse files Browse the repository at this point in the history
  • Loading branch information
Melodatron committed Mar 9, 2020
1 parent 53ddd82 commit 3d80eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Runtime/UI/NavigationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public void ProcessViewInputs(IBrowserView view)
foreach(ViewControlBindings.AxisBinding axisBinding in bindings.axisBindings)
{
// get values
float axisValue = Input.GetAxis(axisBinding.inputName);
float axisValue = Input.GetAxisRaw(axisBinding.inputName);
float previousValue = 0f;
if(!this.m_lastAxisValues.TryGetValue(axisBinding.inputName, out previousValue))
{
Expand Down

0 comments on commit 3d80eb6

Please sign in to comment.