json | The JSON representation of the object. |
objectToOverwrite | The object to overwrite. |
Overwrite data in an object by reading from its JSON representation.
This is similar to [JsonUtility.FromJsonOverwrite], but it supports any engine object. The fields available are the same as are accessible via the [SerializedObject] API, or as found in the YAML-serialized form of the object.