[PUN] Only send data to specific client

Options
Hello,

I'd like to know how it is possible to implement a client sending data only to a specific client.
Using OnPhotonSerializeView, my understanding is that the packets are sent to all players.
I'd like to have the same thing, but only receive it on one side..

Thanks in advance for the help
Gengis Khan

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @GengisKhan,

    Thank you for choosing Photon!

    You can do so using RaiseEvent and RaiseEventOptions.TargetActors array.
  • GengisKhan
    edited July 2017
    Options
    Hi @JohnTube.
    Thanks for the answer.
    One more question: How is it different than using an RPC?