How to loadScene after game matched?

Hi All

I want to make a matching panel before entering the game. Here is the scene flow:
1. UI Matching Panel
In this scene, the game is not shown yet as it is for finding other players or match with friends

2. Battle Scene
After matched all players, the game automatically started to load this scene.

My question is:
1. I trigger the load scene after Master Client received:
public override void OnPhotonPlayerConnected (PhotonPlayer newPlayer)

but after I use:
SceneManager.LoadScene("xxxx");

Everything gone.
Well i am new to Photon and would like to know what is the good practice to do this.
Photon's sample code is too simple and not enough.

Thanks very much.
Sign In or Register to comment.