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

Photon, How To: Send Message Across Network

$
0
0
Hi there,
I am using Photon and am struggling with how I can get a local object to send a message to the other players that the "flag was obtained" or that "round is over".


I thought by using...
Code (csharp):
  1.  
  2.        this.this_photonView.RPC("roundOver", PhotonTargets.All);
  3.  
.. that if I used the [PunRPC], any function, with that tag, would be sent the message, "roundOver". This is not the case tho.

I am going to look into the chat examples, but in the meantime, was hoping for some...

Photon, How To: Send Message Across Network

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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