PlayerControllerHelperMapHelperAddMapFromJsonT(Int32, String) Method |
Adds a controller map to the Player from Json save data.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic bool AddMapFromJson<T>(
int controllerId,
string jsonString
)
where T : ControllerMap
Parameters
- controllerId Int32
- Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0.
- jsonString String
- Json save data
Type Parameters
- T
- Map type
Return Value
BooleanSuccess/Failure
See Also