Click or drag to resize

PlayerControllerHelperMapHelperAddMapFromXmlT(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+e8257758c3446d922301bab0e4637a0e5ec1862f
Syntax
C#
public bool AddMapFromXml<T>(
	int controllerId,
	string xmlString
)
where T : ControllerMap

Parameters

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

Type Parameters

T
Map type

Return Value

Boolean
Success/Failure
See Also