Hi,
your hierarchy of UI objects should be accessible by any gameobjects, for example, you can use tag, and when you spawn a prefab instance, the instance first job is to find the UI object in the scene that it needs to communicate with.
for example a HUD display over your player instance can be made in two different ways:
- either you have a specific UI canvas inside your prefab and you destroy it or change it based on who owns it
- or the UI HUD is managed by scene manager which instantiate a non networked Object ( the UI HUD), and tells the player instance about this HUD so that it can control it ( for health for example), then the manager can decide what to do and where to put it as well as destroy it if the player is disconnected.
Bye,
Jean
Bye,
Jean