Click or drag to resize

PlayerGetAxis2D(String, String) Method

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
C#
public Vector2 GetAxis2D(
	string xAxisActionName,
	string yAxisActionName
)

Parameters

xAxisActionName  String
Name of the X axis Action
yAxisActionName  String
Name of the Y axis Action

Return Value

Vector2
The 2D axis value.
See Also