Exemplo n.º 1
0
 public void FrameEnd()
 {
     if (seqence)
     {
         seqence.SetPlaying(false);
         float end = seqence.RecalcuteDuration();
         seqence.ProcessTo(end);
     }
 }
Exemplo n.º 2
0
        public void Open(string path, PlayMode mode)
        {
            Dispose();
            this.path      = path;
            seqence        = new XSeqence(path, mode);
            seqence.Finish = OnPlayFinish;
            AddRuntime();
            float dur = seqence.RecalcuteDuration();

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