文档

Unity Engine

Unity Engine

IRateManager

Interface to define custom behaviors for controlling when a ComponentSystemGroup should update, and what timestep should be visible to the systems in that group. This allows the implementation of Unity's traditional MonoBehaviour "FixedUpdate()" semantics within DOTS, as well as more advanced/flexible update schemes.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Interface
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public interface IRateManager

Properties

Property

Description

TimestepThe timestep since the previous group update (in seconds).

Methods

Method

Description

ShouldGroupUpdateDetermines whether a system group should proceed with its update, and also how many times it should update per frame.