1234567891011121314151617181920212223 |
- using System;
- using UnityEngine;
- namespace UnityEditor.Recorder.Timeline
- {
- [ExecuteInEditMode]
- class WaitForEndOfFrameComponent : _FrameRequestComponent
- {
- [NonSerialized]
- public RecorderPlayableBehaviour m_playable;
- public void LateUpdate()
- {
- RequestNewFrame();
- }
- protected override void FrameReady()
- {
- if (m_playable != null)
- m_playable.FrameEnded();
- }
- }
- }
|