Click or drag to resize

CustomControllerSetButtonValueById Method

Sets the value of an Button by id.

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

Parameters

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