Class ClientRpcAttribute
Marks a method as ClientRpc.
A ClientRpc marked method will be fired by the server but executed on clients.
Inherited Members
Namespace: Unity.Netcode
Assembly: Unity.Netcode.Runtime.dll
Syntax
[AttributeUsage(AttributeTargets.Method)]
public class ClientRpcAttribute : RpcAttribute
Constructors
ClientRpcAttribute()
Declaration
public ClientRpcAttribute()