Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Question photon, sincronize value for new player in room

Discussion in 'Multiplayer' started by designshake, Jun 16, 2022.

  1. designshake

    designshake

    Joined:
    Oct 22, 2020
    Posts:
    4
    i need some help, I would like something very simple to implement, I can't find anywhere how to send room information to a new player that has joined, example count players, count players ready, scores,..(values that change during the game).

    I wanted a simple explanation of how to implement the moment you are setting information the moment you are receiving the information please, I have been looking for a long time, but nothing is very clear, if you can help me I would be very grateful.
     
  2. toddkc

    toddkc

    Joined:
    Nov 20, 2016
    Posts:
    195
    You should use PUNs RoomProps and PlayerProps for these things. Docs here.
     
  3. designshake

    designshake

    Joined:
    Oct 22, 2020
    Posts:
    4
    thank for this @toddkc, but i'll like if had little exemple, i dont know how to do.
     
  4. toddkc

    toddkc

    Joined:
    Nov 20, 2016
    Posts:
    195
    Hopefully someone else can come along and give you one, I don't have the time sorry. Look up some tutorials and youtube videos, it's not very complicated. Good luck!
     
  5. designshake

    designshake

    Joined:
    Oct 22, 2020
    Posts:
    4
    ok, thanks for you time... im wait and finding resposte.
     
  6. Asinello

    Asinello

    Joined:
    Jan 12, 2021
    Posts:
    1