Search Unity

@rpc equivalent C#

Discussion in 'Scripting' started by hangt5, Oct 30, 2007.

  1. hangt5

    hangt5

    Joined:
    Oct 26, 2005
    Posts:
    26
    What is the proper way to do @rpc in c#? @rpc gives a parsing error.
     
  2. jeremyace

    jeremyace

    Joined:
    Oct 12, 2005
    Posts:
    1,661
    Code (csharp):
    1.  
    2. [RPC] or [UnityEngine.RPC]
    3.  
    Edit: sry, all uppercase.

    -Jeremy