Skip to content

Recording Setup

Rory Clark edited this page Jul 7, 2023 · 5 revisions
  • Add the RecordingManager script to a new empty gameobject and set your recording folder and name.
    • Specify a custom frame rate if you wish.
    • All recordings are prefixed with a unix style date/time stamp to prevent overwriting.
    • All recording folders are relative to the Unity dataPath location.
  • Assign a RecordComponent to any object within your scene, for example a TransformRecordComponent to your camera (which will record the transform), and give it a unique descriptor.
    • By default an empty RecordComponent will only record the Unity gameobject enable/disable events and any messages fed to it.
    • Using a TransformRecordComponent will record changes to your transform (which is possibly closer to what you want).
  • Go into play mode and press Start Recording, once done press Stop Recording (Both functions can be triggered through code).
    • You need to be in play mode to start any recording. The recording manager will automatically stop recording when you exit play mode.

Once you're done with recording, you can move onto playing back your files.

The recording manager with two components added.