文档

Unity Engine

Download Unity

Unity Engine

RateUtils

Contains some default IRateManager implementations to address the most common use cases.
阅读时间1 分钟最后更新于 20 天前

Definition

  • Type: Class
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public static class RateUtils

Classes

Class

Description

RateUtils.FixedRateCatchUpManagerImplements system update semantics similar to <a href="https://docs.unity3d.com/ScriptReference/MonoBehaviour.FixedUpdate.html"&gt;UnityEngine.MonoBehaviour.FixedUpdate&lt;/a>.
RateUtils.FixedRateSimpleManagerImplements a rate manager that updates the group exactly once per presentation frame, but uses a constant timestep instead of the actual elapsed time since the previous frame.
RateUtils.VariableRateManagerA IRateManager implementation providing a variable update rate in milliseconds.