UltimateReplay Namespace

Ultimate Replay

UltimateReplay Namespace
 
Classes
  Class Description
Public class ReplayAudio
A replay component that is responsible for recording and replaying audio effects that are played during gameplay. Audio can only be replayed when playback is not being reversed.
Public class ReplayBehaviour
This interface can be implemented by mono behaviour scripts in order to receive replay start and end events. It works in a similar way to the 'Start' or 'Update' method however you must explicitly implement the interface as opposed to using magic methods. This allows for slightly improved performance.
Public class ReplayControls
Default replay controls used for demonstration and testing. Uses legacy GUI for ui rendering.
Public class ReplayIgnoreAttribute
Attach this attribute to a class that derives from ReplayBehaviour and the replay system will ignore it. This is useful when you want to receive replay events but dont need to record any data.
Public class ReplayManager
The main interface for Ultimate Replay and allows full control over object recording and playback.
Public class ReplayObject
Only one instance of ReplayObject can be added to any game object.
Public class ReplayState
A ReplayState allows replay objects to serialize and deserialize their data. See IReplaySerialize.
Public class ReplayTime
This class emulates the behaviour of the Time class in Unity and can be used to modify the playback speed of a replay. There are also delta values that can be used to interpolate between frames where a low record frame rate is used. See ReplayTransform for an example.
Public class ReplayTransform
Attach this component to a game objects in order to record the objects transform for replays. Only one instance of ReplayTransform can be added to any game object.
Public class ReplayVarAttribute
Use this attribute on a field to mark it for recording. The type the field is defined in must inheit from ReplayBehaviour in order for the field to be recorded automatically. Interpolation between field values is also possible where low record rates are used.
Enumerations
  Enumeration Description
Public enumeration PlaybackDirection
The playback direction used during replay plaback.
Public enumeration PlaybackOrigin
Represents a playback node that can be used to calcualte playback offsets.
Public enumeration PlaybackState
The state of the active ReplayManager.