MapHelper Properties |
The PlayerControllerHelperMapHelper type exposes the following members.
Name | Description | |
---|---|---|
InputBehaviors |
Gets a list of all InputBehaviors in this Player.
| |
layoutManager |
Manages loading and unloading of Controller Maps in a Player based on user settings to force the specified Layouts to be used.
This must be enabled before use by setting enabled to true, otherwise Controller Map
enabled states in the Player will be unmanaged.
This can be used to make specific Controller Maps be loaded in a Player with specific Layouts, for example when changing from one Controller
Layout to another. These settings will persist and be inherited by new Controllers assigned to the Player.
This will enforce a single Layout per managed Map Category be loaded in the Player. This cannot manage mutliple simultaneous
Layouts in the same Map Category being loaded in the Player.
To manage the enabled states, use mapEnabler.
It is recommended that you use both mapEnabler and layoutManager together to manage
both loading and enabled states of Controller Maps.
When both are enabled, layoutManager will load/unload Controller Maps first, then mapEnabler will enable/disable
the Controller Maps based on the rules you've set up in each..
| |
mapEnabler |
Enforces persistent enabled states on Controller Maps in a Player based on user settings.
This must be enabled before use by setting enabled to true, otherwise Controller Map
enabled states in the Player will be unmanaged.
This can be used to make specific Controller Maps be enabled or disabled in a Player,
for example when changing game modes that require user input to change.
These settings will persist and be inherited by new Controllers assigned to the Player.
Enabled states will be sync'd when new Controllers are added, when Controller Maps are loaded, etc.
When using ControllerMapEnabler, you should not manually set enabled states
on Controller Maps that are managed by this class, but instead change all settings within this class.
|