[英]SceneManager.LoadScene does not work in Unity 4.6?
SceneManager.LoadScene is not working in Unity version 4.6.1. SceneManager.LoadScene在Unity版本4.6.1中不起作用。 even though I have put using UnityEngine.SceneManagement;
即使我已经using UnityEngine.SceneManagement;
at the top of my script. 在我的脚本的顶部。
What is the problem here, and how can I resolve it? 这是什么问题,我该如何解决?
SceneManager was introduced as part of Unity 5. It is not part of the 4.6 API. SceneManager是作为Unity 5的一部分引入的,它不是4.6 API的一部分。 Look at Application.LoadLevel
instead. Application.LoadLevel
改为查看Application.LoadLevel
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.