Click or drag to resize

PlayerControllerHelperMapHelperGetFirstElementMapWithAction(ControllerType, Int32, String, Boolean) Method

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+e8257758c3446d922301bab0e4637a0e5ec1862f
Syntax
C#
public ActionElementMap GetFirstElementMapWithAction(
	ControllerType controllerType,
	int controllerId,
	string actionName,
	bool skipDisabledMaps
)

Parameters

controllerType  ControllerType
The type of controller.
controllerId  Int32
Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0.
actionName  String
Name of the Action.
skipDisabledMaps  Boolean
Should disabled Controller Maps and Action Element Maps be skipped?

Return Value

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