Пример #1
0
        protected override IEnumerator ExecuteStep()
        {
            if (!TemporarilyDisable)
            {
                if (!Timeline.IsSeeking)
                {
                    Debug.Log("Starting recording!");

                    var filename = CommandLineArgs.GetArgumentValue("VideoFilename");
                    if (string.IsNullOrEmpty(filename))
                    {
                        filename = "Choreography.mp4";
                    }

                    RecordingLord.StartRecording(filename);

                    TimelineViewBehaviour.Instance.NumRecordingsStartedThisPlayback++;
                }
            }

            Router.FireEvent(EndEventName);

            yield return(null);
        }
Пример #2
0
 private IEnumerator StartRecordingMovie(string filename)
 {
     RecordingLord.StartRecording(filename);
     yield return(null);
 }