docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct NetcodeConnection

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Netcode.Components
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    public struct NetcodeConnection

    Fields

    NetworkId

    Declaration
    public int NetworkId
    Field Value
    Type Description
    int

    Properties

    IsServer

    Declaration
    public bool IsServer { get; }
    Property Value
    Type Description
    bool

    Methods

    GoInGame()

    Declaration
    public void GoInGame()

    SendMessage<T>(T)

    Declaration
    public void SendMessage<T>(T message) where T : unmanaged, IRpcCommand
    Parameters
    Type Name Description
    T message
    Type Parameters
    Name Description
    T
    In This Article
    Back to top
    Copyright © 2026 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)