Click or drag to resize

Player.ControllerHelper.MapHelper.ButtonMapsWithAction Method (Controller, Int32, Boolean)

Enumerates all button ActionElementMaps for a specific controller that contains a specific Action.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public IEnumerable<ActionElementMap> ButtonMapsWithAction(
	Controller controller,
	int actionId,
	bool skipDisabledMaps
)

Parameters

controller
Type: Rewired.Controller
The Controller.
actionId
Type: System.Int32
Id of the Action
skipDisabledMaps
Type: System.Boolean
Should disabled Controller Maps and Action Element Maps be skipped?

Return Value

Type: IEnumerable<ActionElementMap>
Enumeration of Button Maps found with the specified Action.
See Also