如何动态加载场景载入的进度条?
尤其放在手机中加载场景时。。!! 有没有动态加载关卡进度条的方法??{:soso_e132:}多线程 还有研究过 网上记录的一段代码 还没有试过// Print on a guiText how much has been streamed level at index 1
//在文本框打印在场景1里下载了多少?
// When finished streaming, print "Level 1 has been fully streamed!"
//当完成时,打印"Level 1 has been fully streamed!"
var percentageLoaded : float = 0;
function Update() {
if(Application.GetStreamProgressForLevel(1) == 1) {
guiText.text = "Level at index 1 has been fully streamed!";
} else {
percentageLoaded = Application.GetStreamProgressForLevel(1) * 100;
guiText.text = percentageLoaded.ToString();
}
}
难得一见的好帖 说的非常好 LZ真是人才 很不错 好帖就是要顶 顶顶多好 很好哦