InputManager.GetAxis
Declaration#
public virtual float GetAxis(string axisName)Parameters#
| Name | Description |
|---|---|
| axisName | Name of axis to read |
Description#
Returns the value of an axis
Usage#
Example
InterfaceManager.Input.GetAxis("Horizontal");Declaration#
public virtual float GetAxis(string axisName, Int32 playerId)Parameters#
| Name | Description |
|---|---|
| axisName | Name of axis to read |
| playerId | Id of player to check |
Description#
Returns the value of an axis
Usage#
Example
InterfaceManager.Input.GetAxis("Horizontal", 0);