Class RpcAttribute
Represents the common base class for Rpc attributes.
Assembly: Unity.Netcode.Runtime.dll
Syntax
[AttributeUsage(AttributeTargets.Method)]
public class RpcAttribute : Attribute
Constructors
RpcAttribute(SendTo)
Declaration
public RpcAttribute(SendTo target)
Parameters
| Type |
Name |
Description |
| SendTo |
target |
|
Fields
AllowTargetOverride
Declaration
public bool AllowTargetOverride
Field Value
DeferLocal
Declaration
Field Value
Delivery
Type of RPC delivery method
Declaration
public RpcDelivery Delivery
Field Value
RequireOwnership
Declaration
public bool RequireOwnership
Field Value