ReInputMappingHelperGetMouseMapInstanceSavedOrDefault(Int32, String, String) Method |
Gets a copy of a Mouse Map.
This can be used to view the Controller Map saved in user data if available or the default Controller Map setup in the Rewired Input Manager.
The Controller Map will be first loaded from
UserDataStore. If none is found, it will be loaded from the Rewired Input Manager defaults.
UserDataStore must implement
IControllerMapStore or data cannot be loaded from saved user data.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+e8257758c3446d922301bab0e4637a0e5ec1862f
Syntaxpublic MouseMap GetMouseMapInstanceSavedOrDefault(
int playerId,
string mapCategoryName,
string layoutName
)
Parameters
- playerId Int32
- The Player id. This is used when loading from UserDataStore.
- mapCategoryName String
- Map Category Name
- layoutName String
- Layout Name
Return Value
MouseMapMouse Map
See Also