docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum GhostRelevancyMode

    Specify how the ghosts added to the relevancy set should be used.

    Namespace: Unity.NetCode
    Assembly: Unity.NetCode.dll
    Syntax
    public enum GhostRelevancyMode

    Fields

    Name Description
    Disabled

    The default. No relevancy will applied under any circumstances.

    SetIsIrrelevant

    Ghosts added to relevancy set (GhostRelevancySet) are considered "not-relevant to that client", and thus will be not serialized for the specified connection. In other words: Set this mode if you want to specifically ignore specific entities for a given client.

    SetIsRelevant

    Only ghosts added to relevancy set (GhostRelevancySet, below) are considered "relevant to that client", and thus serialized for the specified connection (where possible, obviously, as eventual consistency and importance scaling rules still apply).

    In This Article
    Back to top
    Copyright © 2025 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)