U3D之學習異步加載-1204

異步加載遊戲場景與異步加載遊戲資源進度條

> http://www.xuanyusong.com/archives/1427

根據步驟創建了ABC 三個場景,依次綁定了ABC三個C#代碼文件,然後運行報錯

Scene 'B' couldn't be loaded because it has not been added to the build settings or the AssetBundle has not been loaded.
To add a scene to the build settings use the menu File->Build Settings...
UnityEngine.Application:LoadLevel(String)
A:Start() (at Assets/New Folder/A.cs:12)

解決辦法: File->Build Settings->Add Open Scene
把三個場景都添加了,再運行就OK了

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章