Ultimate Replay Scripting Reference
ReplayTime Class |
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.
Inheritance Hierarchy
Namespace: UltimateReplay
Assembly: UltimateReplay (in UltimateReplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static class ReplayTime
The ReplayTime type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetCorrectedTimeValueString |
Gets the current time as a float and converts it to minutes and seconds formatted as a string.
|
Properties
Name | Description | |
---|---|---|
Delta |
Represents a delta between current replay frames.
This normalized value can be used to interpolate smoothly between replay states where a low record rate is used.
Note: this value is not the actual delta time but a value representing the transition progress between replay frames.
| |
Time |
Get the current replay playback time.
| |
TimeScale |
The time scale value used during replay playback.
This value is ignored during replay recording.
|
See Also