예제 #1
0
        private void Play()
        {
            if (!Application.isPlaying)
            {
                EditorApplication.update += EditorUpdate;
                DOTweenEditorPreview.Start();
                FindRelatedAnimationControllers();
                sequencerController.OnSequenceFinishedPlayingEvent += StopPreview;
                lastFrameTime    = EditorApplication.timeSinceStartup;
                isPreviewPlaying = true;
            }

            sequencerController.PrepareForPlay(true);
            sequencerController.Play();
        }
예제 #2
0
 public override void PrepareForPlay()
 {
     base.PrepareForPlay();
     sequencer.PrepareForPlay();
 }