Ultimate Replay Scripting Reference
ReplayTarget Class |
Represents and abstract storage device capable of holding recorded state data for playback at a later date.
Depending upon implementation, a ReplayTarget may be volatile or non-volatile.
Inheritance Hierarchy
SystemObject Object
Component
Behaviour
MonoBehaviour
UltimateReplayReplayBehaviour
UltimateReplay.StorageReplayTarget
UltimateReplay.StorageReplayMemoryTarget
Component
Behaviour
MonoBehaviour
UltimateReplayReplayBehaviour
UltimateReplay.StorageReplayTarget
UltimateReplay.StorageReplayMemoryTarget
Namespace: UltimateReplay.Storage
Assembly: UltimateReplay (in UltimateReplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
[SerializableAttribute] public abstract class ReplayTarget : ReplayBehaviour
The ReplayTarget type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ReplayTarget | Initializes a new instance of the ReplayTarget class |
Methods
Name | Description | |
---|---|---|
PrepareTarget |
Called by the recording system to notify the active ReplayTarget of an upcoming event.
| |
RecordSnapshot |
Store a replay snapshot in the replay target.
| |
RestoreSnapshot |
Recall a snapshot from the replay target based on the specified replay offset.
|
Fields
Name | Description | |
---|---|---|
duration |
The amount of time in seconds that the current recording data lasts.
If no data exists then the duration will dfault to a length of 0.
|
Properties
Name | Description | |
---|---|---|
Duration |
The amount of time in seconds that this recording lasts.
| |
MemorySize |
Get the total amount of bytes that this replay uses.
|
See Also