Выберите подходящий для вас язык программирования. Все примеры кода будут представлены на выбранном языке.
class in UnityEngine
Благодарим вас за то, что вы помогаете нам улучшить качество документации по Unity. Однако, мы не можем принять любой перевод. Мы проверяем каждый предложенный вами вариант перевода и принимаем его только если он соответствует оригиналу.
ЗакрытьПо определённым причинам предложенный вами перевод не может быть принят. Пожалуйста <a>попробуйте снова</a> через пару минут. И выражаем вам свою благодарность за то, что вы уделяете время, чтобы улучшить документацию по Unity.
ЗакрытьThe interface to get time information from Unity.
captureFramerate | Slows game playback time to allow screenshots to be saved between frames. |
deltaTime | Время в секундах, которое потребовалось для отрисовки последнего кадра (Read Only). |
fixedDeltaTime | The interval in seconds at which physics and other fixed frame rate updates (like MonoBehaviour's FixedUpdate) are performed. |
fixedTime | The time the latest FixedUpdate has started (Read Only). This is the time in seconds since the start of the game. |
frameCount | The total number of frames that have passed (Read Only). |
maximumDeltaTime | The maximum time a frame can take. Physics and other fixed frame rate updates (like MonoBehaviour's FixedUpdate). |
realtimeSinceStartup | The real time in seconds since the game started (Read Only). |
smoothDeltaTime | A smoothed out Time.deltaTime (Read Only). |
time | The time at the beginning of this frame (Read Only). This is the time in seconds since the start of the game. |
timeScale | The scale at which the time is passing. This can be used for slow motion effects. |
timeSinceLevelLoad | The time this frame has started (Read Only). This is the time in seconds since the last level has been loaded. |
unscaledDeltaTime | The timeScale-independent time in seconds it took to complete the last frame (Read Only). |
unscaledTime | The timeScale-independant time at the beginning of this frame (Read Only). This is the time in seconds since the start of the game. |