Example #1
0
 public void FrameEnd()
 {
     if (timeline)
     {
         timeline.SetPlaying(false);
         float end = timeline.RecalcuteDuration();
         timeline.ProcessTo(end);
     }
 }
Example #2
0
        public void Open(string path, PlayMode mode)
        {
            Dispose();
            this.path       = path;
            timeline        = new XTimeline(path, mode);
            timeline.Finish = OnPlayFinish;
            AddRuntime();
            float dur = timeline.RecalcuteDuration();

            window.SetTimeRange(0, dur * 1.5f);
        }