Enum SendDirection
Describes the direction an RPC is sent.
Namespace: Unity.Netcode
Assembly: Unity.NetCode.dll
Syntax
public enum SendDirection
Fields
| Name | Description |
|---|---|
| ClientToServer | Used to send an RPC from a Client instace to a Server instace, if sent in the other direction the RPC will fail |
| ServerToClient | Used to send an RPC from a Server instace to a Client instace, if sent in the other direction the RPC will fail |
| Undefined | Undefined SendDirection this should not be specified by users, its a guard so we can have a default and check users have specifed thier send direction explicitly. |