コード例 #1
0
        IEnumerator LoadSceneAsync(int sceneIndex)
        {
            SimplePool.Reset();
            var operation = SceneManager.LoadSceneAsync(sceneIndex);

            while (!operation.isDone)
            {
                yield return(null);
            }
        }