Unit3D從新加載當前場景,用EditorSceneManager.LoadScene 替換 Application.LoadLevel(Application.loadedLevel)

Unity3D 以前的Application.LoadLevel(Application.loadedLevel);已經用不了 目前用EditorSceneManager.LoadScene(SceneName);代替web 首先要添加 using UnityEditor.SceneManagement;svg using System.Collections; using UnityEngine
相關文章
相關標籤/搜索