ControllerMapForEachButtonMapMatch Method |
Invokes the action on each Button Map that matches the conditions defined by specified predicate.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void ForEachButtonMapMatch(
Predicate<ActionElementMap> predicate,
Action<ActionElementMap> actionToPerform
)
Parameters
- predicate
- Type: SystemPredicateActionElementMap
The Predicate delegate that defines the conditions to match. - actionToPerform
- Type: SystemActionActionElementMap
The action to invoke on each entry.
Exceptions Exception | Condition |
---|
ArgumentNullException | predicate is null. |
ArgumentNullException | actionToPerform is null. |
See Also