Click or drag to resize

PlayerControllerHelperMapHelperAddMapFromXml(ControllerType, Int32, String) Method

Adds a controller map to the Player from Xml save data.

Namespace: Rewired
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+fd80194fe28f6b408ce098e98c53850d307c3a32
Syntax
C#
public bool AddMapFromXml(
	ControllerType controllerType,
	int controllerId,
	string xmlString
)

Parameters

controllerType  ControllerType
Controller type
controllerId  Int32
Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0.
xmlString  String
Xml save data

Return Value

Boolean
Success/Failure
See Also