示例#1
0
        protected void Awake()
        {
            IMovieRecordingUnit <T> unit = CreateRecordingUnit();

            Assert.IsNotNull(unit);

            this.unit = unit;
        }
示例#2
0
        protected void OnDestroy()
        {
            if (unit != null)
            {
                unit.Dispose();

                unit = null;
            }
        }
示例#3
0
 public EditorMovieRecorder(IMovieRecordingUnit <T> unit)
 {
     this.unit = unit;
 }