Ultimate Replay Scripting Reference
UltimateReplay Namespace |
Classes
Class | Description | |
---|---|---|
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.
|
|
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.
|
|
ReplayControls |
Default replay controls used for demonstration and testing.
Uses legacy GUI for ui rendering.
|
|
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.
|
|
ReplayManager |
The main interface for Ultimate Replay and allows full control over object recording and playback.
|
|
ReplayObject |
Only one instance of ReplayObject can be added to any game object.
|
|
ReplayState |
A ReplayState allows replay objects to serialize and deserialize their data.
See IReplaySerialize.
|
|
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.
|
|
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.
|
|
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 | |
---|---|---|
PlaybackDirection |
The playback direction used during replay plaback.
|
|
PlaybackOrigin |
Represents a playback node that can be used to calcualte playback offsets.
|
|
PlaybackState |
The state of the active ReplayManager.
|