BetterTime Class |
Namespace: Archon.SwissArmyLib.Utils
The BetterTime type exposes the following members.
Name | Description | |
---|---|---|
CaptureFramerate |
Slows game playback time to allow screenshots to be saved between frames.
| |
DeltaTime |
Gets the difference in seconds since the last frame. (Scaled according to TimeScale)
| |
FixedDeltaTime |
Gets or sets the fixed time in seconds between FixedUpdate.
| |
FixedTime |
Gets the time that the latest FixedUpdate started. This is scaled according to TimeScale.
| |
FixedUnscaledDeltaTime |
Gets the unscaled time difference since the previous FixedUpdate.
| |
FixedUnscaledTime |
Gets the unscaled time that the latest FixedUpdate started.
| |
FrameCount |
Gets the total number of frames that have passed.
| |
InFixedTimeStep |
Gets whether we're inside a FixedUpdate at the moment.
| |
MaximumDeltaTime |
Gets or sets the maximum time in seconds that a fixed timestep frame can take.
| |
MaximumParticleDeltaTime |
Gets or sets the maximum time in seconds that a frame can spend on updating particles.
| |
RealTimeSinceStartup |
Gets the real time in seconds since the game started.
| |
SmoothDeltaTime |
Gets a smoothed out time difference in seconds since the last frame. (Scaled according to TimeScale)
| |
Time |
Gets the (scaled) time in seconds at the beginning of this frame.
| |
TimeScale | ||
TimeSinceLevelLoad |
Gets the time since the last level was loaded.
| |
UnscaledDeltaTime |
Gets the unscaled time difference in seconds since the last frame.
| |
UnscaledTime |
Gets the unscaled time in seconds at the beginning of this frame.
|