유니티 Loading 노트
IEnumerator LoadLevel() { yield return null; levelLoad = SceneManager.LoadSceneAsync("Level1"); levelLoad.allowSceneActivation = false; while(!levelLoad.progress >=0.9f) { break; } percentText.text = levelLoad.progress * 100 + "%" yield return null; } levelLoad.allowSceneActivation =true;
Unity/C# note
2020. 10. 15. 09:57