docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum GhostComponentSerializer.SendMask

    A bitflag used to mark to which ghost type a component should be serialized to.

    Namespace: Unity.NetCode.LowLevel.Unsafe
    Assembly: Unity.NetCode.dll
    Syntax
    [Flags]
    [Obsolete("Due to changes to the source generator, this enum is now both redundant and deprecated, as it duplicates `GhostSendType`. Unfortunately, not UnityUpgradable to GhostSendType as enum names have changed. (RemovedAfter Entities 1.0)", false)]
    public enum GhostComponentSerializer.SendMask
    Remarks

    Duplicates GhostSendType, which should be used instead.

    Fields

    Name Description
    Interpolated

    The component is replicated only to interpolated ghosts.

    None

    The component should be not replicated.

    Predicted

    The component is replicated only to predicted ghosts.

    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)