ControllerMapLayoutManager Class |
Namespace: Rewired
public sealed class ControllerMapLayoutManager
The ControllerMapLayoutManager type exposes the following members.
Name | Description | |
---|---|---|
enabled |
If enabled, loaded Controller Maps will be evaluated when Controllers are assigned, after saved data is loaded, etc.
Changes to Controller Maps will be applied immediately in the Player when enabled.
| |
loadFromUserDataStore |
If enabled, Controller Maps will be loaded from UserDataStore (if available) instead of from the Rewired Input Manager
defaults. If no matching Controller Map is found in UserDataStore, the Rewired Input Manager default will be loaded.
Note: The UserDataStore implementation must implement IControllerMapStore to be used.
| |
ruleSets |
The list of rule sets.
When Apply is called (whether manually or on various events which trigger it), each rule set in the list
will be evaluated and Controller Maps for the Controller(s) specified in the rule properties will be loaded or removed.
After modifying or replacing the list, you must call Apply for the changes to take effect in the Player.
|
Name | Description | |
---|---|---|
Apply |
Applies settings to Controller Maps in the Player.
This must be called if you make changes to anything in ruleSets in
order for those changes to be applied to the Player's Controller Maps.
| |
ImportJson |
Imports data from JSON.
| |
ImportXml |
Imports data from XML.
| |
LoadDefaults |
Loads the default settings from the Rewired Input Manager.
| |
ToJsonString |
Exports data to JSON.
| |
ToXmlString |
Exports data to XML.
|