docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct Simulate

    Enable simulation of an entity.

    Implements
    IComponentData
    IQueryTypeParameter
    IEnableableComponent
    Namespace: Unity.Entities
    Assembly: Unity.Entities.dll
    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.

    Implements

    IComponentData
    IQueryTypeParameter
    IEnableableComponent
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)