Version: 2021.2

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 the Time.maximumDeltaTime documentation for a timing example.