PlayerControllerHelperMapHelperAddMapsFromJsonT(Int32, ListString) Method |
Adds multiple controller maps 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 int AddMapsFromJson<T>(
int controllerId,
List<string> jsonStrings
)
where T : ControllerMap
Parameters
- controllerId Int32
- Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0.
- jsonStrings ListString
- Json save data
Type Parameters
- T
- Map type
Return Value
Int32Returns the number of Controller Maps added.
See Also