文档

Unity Engine

Download Unity

Unity Engine

Update

When a ComponentLookup is cached by a system across multiple system updates, calling this function inside the system's OnUpdate() method performs the minimal incremental updates necessary to make the type handle safe to use.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

Update(SystemBase)

When a ComponentLookup is cached by a system across multiple system updates, calling this function inside the system's OnUpdate() method performs the minimal incremental updates necessary to make the type handle safe to use.
public void Update(SystemBase system)

Parameters

The system on which this type handle is cached.

Update(SystemState)

When a ComponentLookup is cached by a system across multiple system updates, calling this function inside the system's OnUpdate() method performs the minimal incremental updates necessary to make the type handle safe to use.
public void Update(ref SystemState systemState)

Parameters

systemState

The SystemState of the system on which this type handle is cached.