Exemplo n.º 1
0
        protected virtual void OnNewTagAtFrame(Category category, int frame)
        {
            Time pos = new Time {
                MSeconds = frame * 1000 / openedProject.Description.File.Fps
            };

            player.CloseActualSegment();
            player.SeekTo((long)pos.MSeconds, true);
            ProcessNewTag(category, pos);
        }
Exemplo n.º 2
0
 void HandleUnitChanged(GameUnit gameUnit, TimelineNode unit, Time time)
 {
     player.CloseActualSegment();
     player.Pause();
     player.SeekTo(time.MSeconds, true);
 }