文档

Unity Engine

Unity Engine

Simulate

Enable simulation of an entity.
阅读时间1 分钟最后更新于 19 天前

Definition

public struct Simulate : IComponentData, IQueryTypeParameter, IEnableableComponent

Remarks

This component is added by default to all entities. Systems which needs to support simulating a subset of entities matching a specific query - such as prediction systems in netcode - need to include this component in their queries to make sure entities which are not supposed to be simulated at the moment are skipped.