Voice Demo - Instantiation

Options
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

  • vadim
    Options
    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.
  • cborg
    Options
    Let me rephrase the question. Local players are created by the CharacterInstantiation script. What script are remote players created/modified by?
  • vadim
    Options
    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.