RPC Question.....

Hi all, I’m trying to make a game online. As I studied the tutorials I found the function of m2h RPC (Remote Procedure Call "). The problem is this:

networkView.RPC(“NameOfFunction”,RPCMode.themode,???)

What goes here? Please answer :wink:

P.S where can I find additional documentation on the online?

;):wink:

in ??? goes parametrs, that would be sent to all or not (in dependence of mode) RPC functions. Read Unity documentation “Networking Elements in Unity”

that would be an object containing all the info you want to send across the wire.

Okok thanks all :slight_smile: and thanks to yltastep :wink: