Version: 2020.3

Time.unscaledDeltaTime

切换到手册
public static float unscaledDeltaTime ;

描述

从上一帧到当前帧的独立于 timeScale 的时间间隔(以秒为单位)(只读)。

When called from inside MonoBehaviour's FixedUpdate, it returns the unscaled fixed framerate delta time.

deltaTime 不同,该值不受 timeScale 的影响。

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

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961