PlayerControllerHelperMapHelperGetMapsInCategoryT Method (Int32, String) |
Enumerates controller maps for a specific controller assigned to this Player in a specific category.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public IEnumerable<T> GetMapsInCategory<T>(
int controllerId,
string categoryName
)
where T : ControllerMap
Parameters
- controllerId
- Type: SystemInt32
Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0. - categoryName
- Type: SystemString
Map Category name.
Type Parameters
- T
- Controller Map type.
Return Value
Type:
IEnumerableTEnumeration of Controller Maps
See Also