docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum SendToOwnerType

    Meta-data of a ICommandData component, denoting whether or not the server should replicate the input commands back down to clients. Configure via GhostComponentAttribute.

    See the documentation for ICommandData:ICommandData

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

    Fields

    Name Description
    All

    Informs the server to replicate this ICommandData to all clients, including back to ourselves.

    None

    Informs the server not not replicate this ICommandData back down to any clients.

    SendToNonOwner

    Informs the server to replicate this ICommandData to all clients except the input "author" (i.e. the player who owns the ghost).

    SendToOwner

    Informs the server to replicate this ICommandData 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)