ControllerMapEnabler Class |
Namespace: Rewired
public sealed class ControllerMapEnabler
The ControllerMapEnabler type exposes the following members.
Name | Description | |
---|---|---|
enabled |
If enabled, Controller Maps enabled states will be sync'd when Controllers are assigned, new maps are loaded, etc.
Changes to Controller Maps will be applied immediately in the Player when enabled.
| |
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 enable or disable Controller Maps for the Controller(s) specified in the rule properties.
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.
|