Click or drag to resize

PlayerControllerHelperMapHelperAddMapFromJson(ControllerType, Int32, String) Method

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

Namespace: Rewired
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool AddMapFromJson(
	ControllerType controllerType,
	int controllerId,
	string jsonString
)

Parameters

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

Return Value

Boolean
Success/Failure
See Also