Struct RpcAttribute.RpcAttributeParams
Parameters that define the behavior of an RPC.
Inherited Members
Namespace: Unity.Netcode
Assembly: Unity.Netcode.Runtime.dll
Syntax
public struct RpcAttribute.RpcAttributeParams
  Fields
AllowTargetOverride
When true, allows the RPC target to be overridden at runtime.
Declaration
public bool AllowTargetOverride
  Field Value
| Type | Description | 
|---|---|
| bool | 
DeferLocal
When true, local execution of the RPC is deferred until the next network tick.
Declaration
public bool DeferLocal
  Field Value
| Type | Description | 
|---|---|
| bool | 
Delivery
The delivery method for the RPC.
Declaration
public RpcDelivery Delivery
  Field Value
| Type | Description | 
|---|---|
| RpcDelivery | 
RequireOwnership
When true, only the owner of the object can execute this RPC.
Declaration
public bool RequireOwnership
  Field Value
| Type | Description | 
|---|---|
| bool |