private void Awake() { ms_Instance = this; InitGameObject(); XLuaManager.Instance.PreLoaderLua(); //将base的lua全都加载进来 XLuaManager.Instance.OnInit(); //初始化 //初始化异步任务 AsyncTaskManager.Setup(); }
static AsyncTask() { AsyncTaskManager.Setup(); }