private void Play() { if (!Application.isPlaying) { EditorApplication.update += EditorUpdate; DOTweenEditorPreview.Start(); FindRelatedAnimationControllers(); sequencerController.OnSequenceFinishedPlayingEvent += StopPreview; lastFrameTime = EditorApplication.timeSinceStartup; isPreviewPlaying = true; } sequencerController.Play(); }
public override void Play() { base.Play(); sequencer.Play(); }