PlayerGetAxis2D Method (String, String) |
Gets the axis value of two Actions.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public Vector2 GetAxis2D(
string xAxisActionName,
string yAxisActionName
)
Parameters
- xAxisActionName
- Type: SystemString
Name of the X axis Action - yAxisActionName
- Type: SystemString
Name of the Y axis Action
Return Value
Type:
Vector2The 2D axis value.
See Also