Add camera activation back to levels
This commit is contained in:
@@ -30,9 +30,10 @@ namespace Scampz.GameJam
|
||||
private IEnumerator LoadSceneAsync(string sceneName, LoadSceneMode loadSceneMode)
|
||||
{
|
||||
_levelChanger.FadeAnimation();
|
||||
yield return new WaitForSecondsRealtime(3f);
|
||||
|
||||
yield return null;
|
||||
var loadSceneOperation = SceneManager.LoadSceneAsync(sceneName, loadSceneMode);
|
||||
yield return new WaitForSeconds(3f);
|
||||
|
||||
loadSceneOperation.allowSceneActivation = false;
|
||||
while (!loadSceneOperation.isDone)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user