Click or drag to resize

PlayerGetAxis2D(Int32, Int32) Method

Gets the axis value of two Actions.

Namespace: Rewired
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
Syntax
C#
public Vector2 GetAxis2D(
	int xAxisActionId,
	int yAxisActionId
)

Parameters

xAxisActionId  Int32
Id of the X axis Action
yAxisActionId  Int32
Id of the Y axis Action

Return Value

Vector2
The 2D axis value.
See Also