public void Excute() { cfg = GenerateAssetBundleNameModule.LoadConfig(); if (_isAsync) { new Thread(FindABAsync).Start(); } else { FindABAsync(); } }
public void Excute() { if (false == Directory.Exists(_searchDir)) { //热更资源目录不存在,可能是Resources目录 _searchDir = "Assets/Resources"; } if (false == Directory.Exists(_searchDir)) { throw new Exception(string.Format("没有一个正确的资源目录:「{0}」或「{1}", ZeroConst.HOT_RESOURCES_ROOT_DIR, _searchDir)); } cfg = GenerateAssetBundleNameModule.LoadConfig(); if (_isAsync) { new Thread(FindABAsync).Start(); } else { FindABAsync(); } }