예제 #1
0
 public MusicMgr()
 {
     MonoMgr.Instance().AddUpdateListener(update);
 }
예제 #2
0
 //异步加载资源
 public void LoadAsync <T>(string name, UnityAction <T> callback) where T : Object
 {
     //开启异步加载的协程
     MonoMgr.Instance().StartCoroutine(ReallyLoadAsync <T>(name, callback));
 }