Hello Tony!
Happy Sunday! I trust you are doing very well.
Using the Menu Framework, when starting a new game we call the SaveHelper.RestartGame().
This method loads a single scene, but I was hoping to load the terrains as separate scenes before the game starts.
Is there a way to load them all before the game starts? Or I need to do in OnStart on the first scene?
Thanks in advance,
Nico
Loading multiple scenes on game start?
Re: Loading multiple scenes on game start?
Hi Nico,
You could hook into a C# event such as SaveSystem.sceneLoaded to know when the scene has been loaded, and then additively load your terrain scenes using SaveSystem.LoadAdditiveScene().
You could hook into a C# event such as SaveSystem.sceneLoaded to know when the scene has been loaded, and then additively load your terrain scenes using SaveSystem.LoadAdditiveScene().
Re: Loading multiple scenes on game start?
Thanks for the reply!
I will give it a go.
Have a great rest of weekend!.
Nico
I will give it a go.
Have a great rest of weekend!.
Nico
Re: Loading multiple scenes on game start?
Glad to help! You have a great weekend, too!