remove common assetbundle in StreamingAssets

master
wlt233 5 months ago
parent adcb6e7f54
commit 118bfbfba8

@ -42,16 +42,8 @@ public class Main : MonoBehaviour
#region Init #region Init
private void loadCommonAssets() private void loadCommonAssets()
{ {
DirectoryInfo TheFolder = new DirectoryInfo(Application.streamingAssetsPath + "/common"); var lines = CSVReader.ReadCSV(Application.streamingAssetsPath + "/data/common.csv");
foreach (FileInfo NextFile in TheFolder.GetFiles()) foreach (var line in lines) AssetBundle.LoadFromFile(basePath + line[0]);
{
if (!NextFile.FullName.EndsWith(".meta"))
{
AssetBundle.LoadFromFile(NextFile.FullName);
// Debug.Log(NextFile.FullName);
}
}
} }
private void loadCharaCSV() private void loadCharaCSV()

Binary file not shown.

@ -1,9 +0,0 @@
fileFormatVersion: 2
guid: b7dc3840faf63cc43890e86b74f8fee5
folderAsset: yes
timeCreated: 1712049659
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: be8ac0f21d429eb419073f7e6e156d10
timeCreated: 1712049659
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 908bb0a853c051741ae5ea6c355282e2
timeCreated: 1712049659
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: c32ca021aaa20cd40bd2d19ba005ad2d
timeCreated: 1712049659
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: c9d1d10611c216c46bc99fa767ce38b8
timeCreated: 1712049659
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 8fed57f76ec072744817c081c8b68f9a
timeCreated: 1712049659
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: bb9d765b09c797240b8c7bc741b335b8
timeCreated: 1712049659
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: fe390433025575c4e981cb927b0e6443
timeCreated: 1712049659
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 0131bba369a295d45a9eb98022b7521d
timeCreated: 1712049659
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: ee969345a11d71041ac041279eeeddb4
timeCreated: 1712049659
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,10 @@
co_body_fa
co_body_ri
co_body_sp
co_card_body_di
co_env_a
co_env_b
co_neko_body_no
co_neko_body_sp
co_outline_di
preloadshaders
1 co_body_fa
2 co_body_ri
3 co_body_sp
4 co_card_body_di
5 co_env_a
6 co_env_b
7 co_neko_body_no
8 co_neko_body_sp
9 co_outline_di
10 preloadshaders

@ -1,6 +1,6 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 58981f137659e33429268f942bd0c08f guid: eee5e45065b02374da6182f61b0551ab
timeCreated: 1712049659 timeCreated: 1713275113
licenseType: Free licenseType: Free
DefaultImporter: DefaultImporter:
userData: userData:
Loading…
Cancel
Save