Click or drag to resize

ControllerMapReplaceOrCreateElementMap Method (ElementAssignment, ActionElementMap)

Replaces an existing ActionElementMap with a new assignment. ElementAssignment.elementMapId must be set to the ActionElementMap.id of the assignment to replace if replacing. If no ActionElementMap is found matching that id, a new ActionElementMap will be created instead.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool ReplaceOrCreateElementMap(
	ElementAssignment elementAssignment,
	out ActionElementMap result
)

Parameters

elementAssignment
Type: RewiredElementAssignment
ElementAssignment info
result
Type: RewiredActionElementMap
The resulting ActionElementMap.

Return Value

Type: Boolean
Success/Failure
See Also