Search Unity

Third Party How to send data between clients? (Photon)

Discussion in 'Multiplayer' started by plexHD, Aug 1, 2022.

  1. plexHD

    plexHD

    Joined:
    Dec 21, 2020
    Posts:
    1
    Hi, I'm trying to make a simple multiplayer project with photon and I have to send data from one player to the other one (When one player dies, it has to notify the other player...). I have tried to use RPCs but it just sends the data to the copy of itself on the other player's computer.
    Is there another way of sending data between clients?
    Thanks.
     
  2. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    3,068