This version of Unity is unsupported.
Removed in version 2018.4.36

RPC

class in UnityEngine

/

Implemented in:UnityEngine.CoreModule

Obsolete The legacy networking system has been removed in Unity 2018.2. Use Unity Multiplayer and NetworkIdentity instead.

Description

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.