Search Unity

Question Only the host can interact with hud.

Discussion in 'Netcode for GameObjects' started by KristenBoyGames, May 5, 2022.

  1. KristenBoyGames

    KristenBoyGames

    Joined:
    May 23, 2021
    Posts:
    38
    My game has multiple canvases that aren't connected to the multiplayer experience, but they display info such as connected players and rounds. The problem is that only the Host can interact with them (do things like open or close them), i want every person to have their own hud that only they see. How to make it like that? Currently the canvases are turned on and off SetActive(true/false) that is triggered by pressing buttons on hud.