ScriptReference/AsyncOperation-allowSceneActivation #149
Replies: 2 comments
-
|
This flag is ignored in |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Comment by Note that if this is false, yielding the AsyncOperation will never finish, as yielding checks the isDone variable: var loadOp = SceneManager.LoadSceneAsync("scene");
loadOp.allowSceneActivation = false;
yield return loadOp; //never finishes! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
ScriptReference/AsyncOperation-allowSceneActivation
https://docs.unity3d.com/ScriptReference/AsyncOperation-allowSceneActivation.html
Beta Was this translation helpful? Give feedback.
All reactions