Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public static void DeSerialize(GEventStyle style)
 {
     GTimelineFactory.Deserialize(style.styles, style.jsons, style.types);
 }