/// <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)); }
/// <summary> /// 切换场景 异步 /// </summary> /// <param name="name"></param> /// <param name="action"></param> public void LoadSceneAsyn(string name, UnityAction action) { MonoMgr.getInst().StartCoroutine(ReallyLoadSceneAsyn(name, action)); }