Ejemplo n.º 1
0
 public static Keyframe KeyframeFromJson(string json)
 {
     return(JsonUtilityExtensions.FromJson <KeyframeEx>(json));
 }
Ejemplo n.º 2
0
 public static string KeyframeArrayToJson(this Keyframe[] keyframes, bool prettyPrint = false)
 {
     return(JsonUtilityExtensions.ToJson(keyframes.KeyframeArray2ExKeyframeArray(), prettyPrint));
 }
Ejemplo n.º 3
0
 public static AnimationCurve AnimationCurveFromJson(string json)
 {
     return(JsonUtilityExtensions.FromJson <AnimationCurveEx>(json));
 }
Ejemplo n.º 4
0
 public static AnimationCurve[] AnimationCurveArrayFromJson(string json)
 {
     return(JsonUtilityExtensions.FromJson <AnimationCurveEx[]>(json).ExAnimationCurveArray2AnimationCurveArray());
 }
Ejemplo n.º 5
0
 public static string AnimationCurveArrayToJson(this AnimationCurve[] curves, bool prettyPrint = false)
 {
     return(JsonUtilityExtensions.ToJson(curves.AnimationCurveArray2ExAnimationCurveArray(), prettyPrint));
 }