RPC attribute used to indicate a specific target player for an RPC when sending from one player to another. RPC is sent to the server, and then is forwarded to the specified player. Usage: More...
Inherits Attribute.
Public Member Functions | |
RpcTargetAttribute () | |
RPC Attribute constructor. More... | |
RPC attribute used to indicate a specific target player for an RPC when sending from one player to another. RPC is sent to the server, and then is forwarded to the specified player. Usage:
| [Rpc] | public void RpcFoo([RpcTarget] PlayerRef targetPlayer) { }
RPC Attribute constructor.