Click or drag to resize

CustomControllerSetAxisValueById Method

Sets the value of an Axis by id.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void SetAxisValueById(
	int elementId,
	float value
)

Parameters

elementId
Type: SystemInt32
The id of the Axis. The id can be found in the Rewired Input Manager Custom Controller properties.
value
Type: SystemSingle
The value
See Also