Scripting API

Time

static class in UnityEngine · UnityEngine.CoreModule

25 of 28 of Unity's membersUnity's documentation
In Tassix

Frame timing. Values are set by the host once per frame; inside FixedUpdate, deltaTime and time report the fixed step, as in Unity.

Properties 25

static float captureDeltaTime { get; set; }

When above 0, every frame advances by this many seconds (before timeScale), whatever the real time.

static int captureFramerate { get; set; }

captureDeltaTime as frames per second (0 when not capturing).

static float deltaTime { get; }
static float fixedDeltaTime { get; set; }
static float fixedTime { get; }
static double fixedTimeAsDouble { get; }
static float fixedUnscaledDeltaTime { get; }
static float fixedUnscaledTime { get; }
static double fixedUnscaledTimeAsDouble { get; }
static int frameCount { get; }
static bool inFixedTimeStep { get; }
static float maximumDeltaTime { get; set; }
static float maximumParticleDeltaTime { get; set; }
static float realtimeSinceStartup { get; }
static double realtimeSinceStartupAsDouble { get; }
static int renderedFrameCount { get; }
static float smoothDeltaTime { get; }
static float time { get; }
static double timeAsDouble { get; }
static float timeScale { get; set; }
static float timeSinceLevelLoad { get; }
static double timeSinceLevelLoadAsDouble { get; }
static float unscaledDeltaTime { get; }
static float unscaledTime { get; }
static double unscaledTimeAsDouble { get; }

Not in Tassix yet 3

(constructor) captureDeltaTimeRational timeAsRational