docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct SendRpcCommandRequest

    A component used to signal that an RPC is supposed to be sent to a remote connection and should not be processed.

    Implements
    IComponentData
    IQueryTypeParameter
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.NetCode
    Assembly: Unity.NetCode.dll
    Syntax
    public struct SendRpcCommandRequest : IComponentData, IQueryTypeParameter

    Fields

    TargetConnection

    The "NetworkConnection" entity that this RPC should be sent specifically to, or Entity.Null to broadcast to all connections.

    Declaration
    public Entity TargetConnection
    Field Value
    Type Description
    Entity

    Implements

    Unity.Entities.IComponentData
    Unity.Entities.IQueryTypeParameter
    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)