How to load scene addictive using PUN?

Options
Hi,

I am porting my current offline game to multiplayer mode.

My current game using Unity load addictive scene. Something like this:

We have a base scene, which load the players and stuffs. From base scene, we will load another scene addictively. Players will start of at headquater scene, so it will be like: base scene + hq scene. Once selected a mission, it will go to mission scene, e.g base scene + mission scene.

Right now, I put the Pun network manager script (which handles the connection, join room, create room etc) in base scene. How do i manage the connection, players etc when the scene changes? (Assume, base scene will always be there).

Comments

  • zaki
    Options
    Is this forum dead?
    Nobody reply all my posts that i posted.