Click or drag to resize

ControllerMap.ForEachElementAssignmentConflict Method (ElementAssignmentConflictCheck, Action<ActionElementMap>, Boolean)

Invokes the specified action on all ActionElementMaps in this controller map that conflict with the potential assignment contained in the ElementAssignmentConflictCheck.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public int ForEachElementAssignmentConflict(
	ElementAssignmentConflictCheck conflictCheck,
	Action<ActionElementMap> actionToPerform,
	bool skipDisabledMaps
)

Parameters

conflictCheck
Type: Rewired.ElementAssignmentConflictCheck
ElementAssignmentConflictCheck
actionToPerform
Type: System.Action<ActionElementMap>
The action to invoke on each entry.
skipDisabledMaps
Type: System.Boolean
Should disabled ActionElementMaps be skipped?

Return Value

Type: Int32
Number of conflicting ActionElementMaps.
Exceptions
ExceptionCondition
ArgumentNullExceptionactionToPerform is null.
See Also