Documentation

Unity Engine


Unity Engine


Simulate

Enable simulation of an entity.
Read time 1 minuteLast updated 3 days ago

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.