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+fd80194fe28f6b408ce098e98c53850d307c3a32
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