Click or drag to resize

PlayerControllerHelperMapHelperAxisMapsWithAction Method (ControllerType, Int32, Int32, Boolean)

Enumerates all axis 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> AxisMapsWithAction(
	ControllerType controllerType,
	int controllerId,
	int actionId,
	bool skipDisabledMaps
)

Parameters

controllerType
Type: RewiredControllerType
The type of controller.
controllerId
Type: SystemInt32
Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0.
actionId
Type: SystemInt32
Id of the Action
skipDisabledMaps
Type: SystemBoolean
Should disabled Controller Maps and Action Element Maps be skipped?

Return Value

Type: IEnumerableActionElementMap
Axis Maps with the specified Action.
See Also