public void LoadLevel(int levelIndex)
{
StartCoroutine (LevelCoroutine ());
}
IEnumerator LevelCoroutine()
{
loadingPanel.SetActive(true);
AsyncOperation async = Application.LoadLevelAsync (level);
yield return null;
}
unity加载下一场景时显示过渡画面
最新推荐文章于 2024-07-26 11:49:39 发布