Version: 5.3
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.