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.
For Joysticks that have been previously assigned to this Player but are no longer assigned at the time this method is called, the Joystick Map history for
these Joysticks will be cleared so the next time the Joystick is assigned to this Player, the default Joystick Maps will be loaded instead of Joystick Maps
stored in the history.
is set to true and rules exist that apply to the map, the enabled state will be set based on those settings.
Rewired_Core (in Rewired_Core.dll) Version: 220.127.116.11 (18.104.22.168)
public void LoadDefaultMaps(
- Type: RewiredControllerType
The controller type.