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)
Syntaxpublic 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:
Int32Number of conflicting ActionElementMaps.
ExceptionsException | Condition |
---|
ArgumentNullException | actionToPerform is null. |
See Also