Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[SOLVED] Lobby player and player prefab, who is who?

Discussion in 'Multiplayer' started by Rodolfo-Rubens, Mar 8, 2017.

  1. Rodolfo-Rubens

    Rodolfo-Rubens

    Joined:
    Nov 17, 2012
    Posts:
    1,197
    I'm trying to set the color of some mesh renderes in my player game object instance in game according to the lobby player color and also trying to access the player name set in lobby but I can't seem to find a way to discover which player game object instance "belongs" to which player lobby instance...
    Do you guys have any idea?
     
  2. Rodolfo-Rubens

    Rodolfo-Rubens

    Joined:
    Nov 17, 2012
    Posts:
    1,197
    I found it! I needed to override the lobby hook stuff and do some GetComponents!!