Voice Demo - Instantiation

What part of the Voice Demo code instantiates other clients' character object in a room? I can't seem to track it in the debugger.

Comments

  • This is in PUN code, not in Voice Demo.
    Remote players objects instances created automatically by PUN when local or remote client joins a room.
  • Let me rephrase the question. Local players are created by the CharacterInstantiation script. What script are remote players created/modified by?
  • Are you interested in PUN internal implementation details?
    You can search "GameObject.Instantiate" through PUN sources in "Assets\Photon Unity Networking\" folder. But this is not easy reading.