Struct NetcodeConnection
Inherited Members
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 |