public virtual void CacheComponents() { timeline = GetComponent <Timeline>(); if (timeline == null) { throw new ChronosException(string.Format("Missing timeline for recorder.")); } recorder = new DelegatedRecorder(this, timeline); }
/// <summary> /// Modifies all snapshots via the specified modifier delegate. /// </summary> public virtual void ModifySnapshots(RecorderTimeline <Component, TSnapshot> .SnapshotModifier modifier) { recorder.ModifySnapshots(modifier); }