Async load with a Loading Screen scene
Cronos
✭
in Photon Bolt
Hi there,
I have a game implemented where when it is to load a stage it first load a LoadScreen scene to show an image or anim while load async the stage.
I am bit confused on how to use BoltNetwork.LoadScene in this, as this is a call made by the server only.
Can I use BoltNetwork.LoadScene(LoadScreen) and then inside the LoadScreen script, use the Unity load system ("SceneManager.LoadSceneAsync") to load the stage on each player ? Or should I wait all players finish to Load the LoadScreen scene and then have the server call BoltNetwork.LoadScene for the stage?
How do you guys suggest to approach this?
Thank you
I have a game implemented where when it is to load a stage it first load a LoadScreen scene to show an image or anim while load async the stage.
I am bit confused on how to use BoltNetwork.LoadScene in this, as this is a call made by the server only.
Can I use BoltNetwork.LoadScene(LoadScreen) and then inside the LoadScreen script, use the Unity load system ("SceneManager.LoadSceneAsync") to load the stage on each player ? Or should I wait all players finish to Load the LoadScreen scene and then have the server call BoltNetwork.LoadScene for the stage?
How do you guys suggest to approach this?
Thank you
0
Comments
-
The Sample Pack has a Loading Screen sample which shows best practices.0