Time

class in UnityEngine

Cambiar al Manual

Descripción

Interfaz para obtener información sobre tiempos en Unity.

Variables Estáticas

captureFramerateThe reciprocal of Time.captureDeltaTime.
deltaTimeThe completion time in seconds since the last frame (Read Only).
fixedDeltaTimeEl intervalo en segundos en que las actualizaciones de física y de otros frame rates fijos (como FixedUpdate de MonoBehaviour) se realizan.
fixedTimeEl tiempo en el que el ultimo FixedUpdate ha empezado (Lectura Solamente). Este es el tiempo en segundos desde el inicio del juego.
fixedUnscaledDeltaTimeThe timeScale-independent interval in seconds from the last fixed frame to the current one (Read Only).
fixedUnscaledTimeThe TimeScale-independant time the latest FixedUpdate has started (Read Only). This is the time in seconds since the start of the game.
frameCountLa cantidad total de frames que han pasado (Read Only).
inFixedTimeStepReturns true if called inside a fixed time step callback (like MonoBehaviour's FixedUpdate), otherwise returns false.
maximumDeltaTimeThe maximum time a frame can take. Physics and other fixed frame rate updates (like MonoBehaviour's FixedUpdate) will be performed only for this duration of time per frame.
maximumParticleDeltaTimeThe maximum time a frame can spend on particle updates. If the frame takes longer than this, then updates are split into multiple smaller updates.
realtimeSinceStartupEl tiempo real en segundos desde que comenzó el juego (Read Only).
smoothDeltaTimeUn Time.deltaTime suavizado (Lectura Solamente).
timeEl tiempo al comienzo de este frame (Lectura Solamente). Este es el tiempo en segundos desde el inicio del juego.
timeScaleThe scale at which time passes. This can be used for slow motion effects.
timeSinceLevelLoadEl tiempo que este frame ha empezado (Lectura solamente). Esto es el tiempo en segundos desde que el ultimo nivel ha cargado.
unscaledDeltaTimeThe timeScale-independent interval in seconds from the last frame to the current one (Read Only).
unscaledTimeThe timeScale-independant time for this frame (Read Only). This is the time in seconds since the start of the game.