Click or drag to resize

PlayerControllerHelperMapHelperGetFirstButtonMapWithAction(Controller, Int32, Boolean) Method

Get the first button 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 GetFirstButtonMapWithAction(
	Controller controller,
	int actionId,
	bool skipDisabledMaps
)

Parameters

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

Return Value

ActionElementMap
The first Button Map found with the specified Action.
See Also