public static GTimelineStyle DeSerialize(string name, string json) { GTimelineStyle evt = JsonUtility.FromJson(json, typeof(GTimelineStyle)) as GTimelineStyle; evt.name = name; GTimelineFactory.Deserialize(evt.styles, evt.jsons, evt.types); return(evt); }
public static void DeSerialize(GEventStyle style) { GTimelineFactory.Deserialize(style.styles, style.jsons, style.types); }