PlayerControllerHelperMapHelperAddEmptyMapT Method (Int32, Int32, Int32) |
Add an empty controller map to the Player with the specified category and layout.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void AddEmptyMap<T>(
int controllerId,
int categoryId,
int layoutId
)
where T : ControllerMap
Parameters
- controllerId
- Type: SystemInt32
Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0. - categoryId
- Type: SystemInt32
Category id - layoutId
- Type: SystemInt32
Layout id
Type Parameters
- T
- Map type
See Also