Version: 5.6
public static void FromJsonOverwrite (string json, object objectToOverwrite);

파라미터

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.