Photon Fusion 1.1.9

List of all members
RpcTargetAttribute Class Reference

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.

Detailed Description

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) { }