Click or drag to resize

PlayerGetAxis2D Method (Int32, Int32)

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(
	int xAxisActionId,
	int yAxisActionId
)

Parameters

xAxisActionId
Type: SystemInt32
Id of the X axis Action
yAxisActionId
Type: SystemInt32
Id of the Y axis Action

Return Value

Type: Vector2
The 2D axis value.
See Also