Version: 2019.4
public static float maximumDeltaTime ;

説明

The 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.

GarbageCollector と高価な Physics や他の固定フレームレート更新を組み合わせで発生する低フレームレートのスパイクを回避するためにこの関数を使います。

If frame will take longer than specified value, then less physics and other fixed frame rate updates will be performed. That will temporarily slow down the gameplay, but will allow frame rate to catchup avoiding nasty stuttering.

フレームのために 1/10 と 1/3 (秒) の間で最大時間を維持することを勧めます。

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