RPC Manual     Reference     Scripting  
Scripting > Attributes > RPC
RPC Class, inherits from Attribute

Attribute for setting up RPC functions.

Given an @RPC (javascript) or [RPC] attribute (C#) any function can be called remotely through Unity Networking. The function must exist on both sending and recieving party.

See Also: NetworkView.RPC