Version: 5.4
public static void FromJsonOverwrite (string json, Object objectToOverwrite);

Parámetros

json The JSON representation of the object.
objectToOverwrite The object to overwrite.

Descripción

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.