docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum SendToOwnerType

    Meta-data of a GhostComponentAttribute, denoting whether or not the server should replicate the GhostField value back down to clients.

    Namespace: Unity.NetCode
    Assembly: Unity.NetCode.dll
    Syntax
    [Flags]
    public enum SendToOwnerType
    Remarks

    Typically used by IInputComponentData structs to replicate each clients inputs ONLY to other players.

    Fields

    Name Description
    All

    Informs the server to replicate this component to all clients, including to the ghost owner.

    None

    Informs the server to not replicate this component to any clients.

    SendToNonOwner

    Informs the server to replicate this component to all clients except the ghost owner (i.e. the player who owns this ghost).

    SendToOwner

    Informs the server to replicate this component back to the owner, exclusively.

    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)