示例#1
0
 /// <summary>
 /// 异步加载
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="name"></param>
 /// <param name="callBack"></param>
 public void LoadAsync <T>(string name, UnityAction <T> callBack) where T : Object
 {
     MonoMgr.getInst().StartCoroutine(ReallyLoadAsync <T>(name, callBack));
 }
示例#2
0
 /// <summary>
 /// 切换场景 异步
 /// </summary>
 /// <param name="name"></param>
 /// <param name="action"></param>
 public void LoadSceneAsyn(string name, UnityAction action)
 {
     MonoMgr.getInst().StartCoroutine(ReallyLoadSceneAsyn(name, action));
 }