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

Having multiple canvases online

Discussion in 'Multiplayer' started by SamohtVII, May 3, 2020.

  1. SamohtVII

    SamohtVII

    Joined:
    Jun 30, 2014
    Posts:
    368
    So I am venturing into PUN2 and multiplayer games and I am struggling to grasp the correct way to handle multiple users and interacting with common objects.

    I have grasped the idea that it is one persons game that everyone joins. So correct me if I'm wrong but does that mean that when instantiating a character prefab (in my case a car model) the will all need a child canvas component.

    My current global canvas opens a menu on another users screen. It seems bizarre to me to have a canvas inside a character prefab. Or do i have a canvas prefab that is also instantiated alongside the car that is assigned to that user?

    Thanks