Click or drag to resize

PlayerControllerHelperMapHelperGetFirstElementMapWithAction Method (Controller, String, Boolean)

Get the first ActionElementMap 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 ActionElementMap GetFirstElementMapWithAction(
	Controller controller,
	string actionName,
	bool skipDisabledMaps
)

Parameters

controller
Type: RewiredController
The Controller.
actionName
Type: SystemString
Name of the Action
skipDisabledMaps
Type: SystemBoolean
Should disabled Controller Maps and Action Element Maps be skipped?

Return Value

Type: ActionElementMap
The first Action Element Map found with the specified Action.
See Also