![](/img/trans.png)
[英]Unity SceneManager.LoadScene() does not work when being called from external event
[英]SceneManager.LoadScene does not work in Unity 4.6?
SceneManager.LoadScene在Unity版本4.6.1中不起作用。 即使我已經using UnityEngine.SceneManagement;
在我的腳本的頂部。
這是什么問題,我該如何解決?
SceneManager是作為Unity 5的一部分引入的,它不是4.6 API的一部分。 Application.LoadLevel
改為查看Application.LoadLevel
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.