How RaiseEvent Actualy work??

Options
I have read documentation related RaiseEvent and i am try it, i know that only execute event send to other player and not sender. who make i am confuse is about RaiseEventOptions . Can anyone give me example how to use RaiseEventOptions pleasee?? because in the documentation say "Calling RaiseEvent with EventCaching.AddToRoomCache, the event will be put into the server's cache. That means, any player who joins later on, will also get the event" what i get from that sentence is if i call PhotonNetwork.RaiseEvent with RaiseEventOptions.EventCaching = EventCaching.AddToRoomCache player who join this room will automaticly execute that event. That right or wrong??

Best Answer

Answers

  • doolangames
    Options
    Thanks a lot @JohnTube now I understand