PlayerControllerHelperMapHelperAddMapsFromXml(ControllerType, Int32, ListString) Method |
Adds multiple controller maps to the Player from Xml save data.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic int AddMapsFromXml(
ControllerType controllerType,
int controllerId,
List<string> xmlStrings
)
Parameters
- controllerType ControllerType
- Controller type
- controllerId Int32
- Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0.
- xmlStrings ListString
- Xml save data
Return Value
Int32>Returns the number of Controller Maps added.
See Also