Gets the value of the specified Input Axis and stores it in a float variable.
Axis Name
The name of the axis. Set in the Unity Input Manager.
Store
The float variable to store the value in.
Default Axis Names:
- "Horizontal"
- "Vertical"
- "Mouse X"
- "Mouse Y"
- "Mouse ScrollWheel"
See Also: Unity Get Axis docs.