Version: 2023.1

Time.smoothDeltaTime

切换到手册
public static float smoothDeltaTime ;

描述

经过平滑处理的 Time.deltaTime(只读)。

This value is equal to Time.deltaTime when it is constant (i.e. smooth frame rate). When deltaTime varies between frames (e.g. on a frame hitch), this value increases or decreases gradually towards deltaTime over multiple frames.

See Time and Frame Rate Management in the User Manual for more information about how this property relates to the other Time properties.