- Home /
Question by
wladivinci · Jan 15, 2020 at 03:39 PM ·
scenescene-loadingload sceneasyncloadlevelasync
Loading Muiltiple Scenes Async
Hello, I have issues loading multiple scenes async. It is working, if I have only one Scene "background loaded". But if there are two or more "background scenes" because the script is attached to more than one object, the onMouseUp Method is only working for the first scene which was loaded async.
Thanks for your help!
AsyncOperation async;
void Start()
{
async = SceneManager.LoadSceneAsync(nextSceneNumber);
async.allowSceneActivation = false;
}
OnMouseUp(){
async.allowSceneActivation=true;
}
Comment
Your answer
Follow this Question
Related Questions
Display loading/progress indicator from Start()? 0 Answers
Load and run scene in background 1 Answer
buttons not being able to be clicked? 1 Answer
Loading Bar in Different Scenes 1 Answer
What does (not loaded) mean? 0 Answers