Click or drag to resize

PlayerControllerHelperMapHelperLoadDefaultMaps Method

Loads the maps defined in the Rewired Editor and assigned to this player for the specified controller type. All existing maps will be cleared and replaced with the default maps. The Enabled state of each map will attempt to be preserved, but if you have added or removed maps through scripting, the result may not be as expected and you should set the Enabled states manually. If enabled is set to true and rules exist that apply to the map, the enabled state will be set based on those settings.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void LoadDefaultMaps(
	ControllerType controllerType
)

Parameters

controllerType
Type: RewiredControllerType
The controller type.
See Also