PlayerControllerHelperMapHelperGetMapT(Int32, Int32, Int32) Method |
Gets a controller map for a specific controller by id assigned to this Player.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+e8257758c3446d922301bab0e4637a0e5ec1862f
Syntaxpublic T GetMap<T>(
int controllerId,
int categoryId,
int layoutId
)
where T : ControllerMap
Parameters
- controllerId Int32
- Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0.
- categoryId Int32
- Category id
- layoutId Int32
- Layout id
Type Parameters
- T
- Controller map type
Return Value
TController Map
See Also