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.0 (1.0.0.0)
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