Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetAxisRaw(string)

Interface to Input.GetAxisRaw. Can be overridden to provide custom input instead of using the Input class.
Read time 1 minuteLast updated 10 days ago

Definition

Warning
Deprecated. EventSystem no longer supports input override for legacy input. Install Input System package for full input binding functionality.
public virtual float GetAxisRaw(string axisName)

Parameters

axisName

Axis name to check

Returns

Type

Description

floatReturns the value of the virtual axis identified by axisName with no smoothing filtering applied.