Utility functions for working with JSON data and engine objects.

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