Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 private IEnumerator StartRecordingMovie(string filename)
 {
     RecordingLord.StartRecording(filename);
     yield return(null);
 }