Click or drag to resize

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
C#
public void ForEachButtonMapMatch(
	Predicate<ActionElementMap> predicate,
	Action<ActionElementMap> actionToPerform
)

Parameters

predicate  PredicateActionElementMap
The Predicate delegate that defines the conditions to match.
actionToPerform  ActionActionElementMap
The action to invoke on each entry.
Exceptions
ExceptionCondition
ArgumentNullExceptionpredicate is null.
ArgumentNullExceptionactionToPerform is null.
See Also