Utility functions for working with JSON data and engine objects.

Beispiel #1
0
 protected override void DeserializeView(string serializedView)
 {
     EditorJsonUtility.FromJsonOverwrite(serializedView, this);
 }
Beispiel #2
0
 public static string ToJson(UnityEngine.Object obj)
 {
     return(EditorJsonUtility.ToJson(obj, false));
 }
Beispiel #3
0
 protected override string SerializeView()
 {
     return(EditorJsonUtility.ToJson(this));
 }
 public static string WriteCustom <T>(T val)
 {
     return(CustomPrefix <T>() + EditorJsonUtility.ToJson(val));
 }