Utility functions for working with JSON data and engine objects.

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