Click or drag to resize

PlayerControllerHelperMapHelperGetFirstMapInCategory Method (ControllerType, Int32, String)

Gets the first controller map for the specified controller in the matching category assigned to this Player.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public ControllerMap GetFirstMapInCategory(
	ControllerType controllerType,
	int controllerId,
	string categoryName
)

Parameters

controllerType
Type: RewiredControllerType
Controller type
controllerId
Type: SystemInt32
Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0.
categoryName
Type: SystemString
Category name

Return Value

Type: ControllerMap
Controller Map
See Also