PlayerControllerHelperMapHelperAddMapFromXml Method (ControllerType, Int32, String) |
Adds a controller map to the Player from Xml save data.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public bool AddMapFromXml(
ControllerType controllerType,
int controllerId,
string xmlString
)
Parameters
- controllerType
- Type: RewiredControllerType
Controller type - controllerId
- Type: SystemInt32
Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0. - xmlString
- Type: SystemString
Xml save data
Return Value
Type:
BooleanSuccess/Failure
See Also