Click or drag to resize

PlayerControllerHelperMapHelperLoadMap(ControllerType, Int32, String, String, Boolean) Method

Loads a controller map from the maps defined in the Rewired Editor. Replaces if a map already exists with the same category and layout. If enabled is set to true and rules exist that apply to the map, the enabled state will be set based on those settings overriding the startEnabled setting passed into the function.

Namespace: Rewired
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+fd80194fe28f6b408ce098e98c53850d307c3a32
Syntax
C#
public void LoadMap(
	ControllerType controllerType,
	int controllerId,
	string categoryName,
	string layoutName,
	bool startEnabled
)

Parameters

controllerType  ControllerType
Controller type
controllerId  Int32
Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0.
categoryName  String
Category name
layoutName  String
Layout name
startEnabled  Boolean
Start this map enabled?
See Also