Click or drag to resize

ElementAssignmentButtonAssignment(Int32, Int32, Pole) Method

Creates a struct for use in element assignment. For assignment of a button.

Namespace: Rewired
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static ElementAssignment ButtonAssignment(
	int elementIdentifierId,
	int actionId,
	Pole axisContribution
)

Parameters

elementIdentifierId  Int32
The element identifier id the Action will be bound to.
actionId  Int32
The id of the Action that will be bound to the controller element.
axisContribution  Pole
Does this Action contribute positive or negative values to the final Action's input value? Used for split axis and button/key assignments.

Return Value

ElementAssignment
ElementAssignment
See Also