Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

RPC calls with the new Unity Networking?

$
0
0
Hi guys I am used to the legacy networking so I used to use code like this:

Code (CSharp):
  1. netView.RPC("rpcName", Target);
  2.  
  3. [RPC]
  4. void rpcName ()
  5. {
  6.     //Do something
  7. }
So how do I do that with the new Unity Networking?

Thanks! :)

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>