Click or drag to resize

PlayerGetAxis2DPrev Method (Int32, Int32)

Gets the axis value of two Actions during the previous frame.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Vector2 GetAxis2DPrev(
	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