Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Viewing all articles
Browse latest Browse all 8947

RaiseEvent vs RPC on local client

$
0
0
I noticed that when using RaiseEvent the event is always sent via the server to all target clients(including the sender itself) where as RPC allow you to choose whether or not you want to send it via the server for all clients or only for other clients(instantly receive your own RPCs)

Is there a way to have RaiseEvent bypass the server and send directly to the local client where applicable?

Viewing all articles
Browse latest Browse all 8947

Trending Articles



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