docs.unity.cn
    Show / Hide Table of Contents

    Struct Simulate

    Enable simulation of an entity.

    Namespace: Unity.Entities
    Syntax
    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.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, August 10, 2023