然后添加下面的代码到一个gameobject里面,
需要载入的时候, 设置一下要跳转的scene , 然后loadlevel你的loadingscene
因为loadingscene东西很少, 所以很快, 然后它就开始载入你想要进入的场景了
using UnityEngine;
using System.Collections;
public class loading : MonoBehaviour {
private static int load_level ;
load_level = level;
}
void Start(){
Application.LoadLevel(load_level);
}
}