Skip to content

Commit

Permalink
prefab renaming and name checking bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
bozmir committed Oct 28, 2024
1 parent 47caab7 commit 3b758f8
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions Assets/Scenes/Main.unity

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified Assets/StreamingAssets/StreamingAssets
Binary file not shown.
2 changes: 1 addition & 1 deletion Assets/StreamingAssets/StreamingAssets.manifest
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ManifestFileVersion: 0
CRC: 3437358120
CRC: 3623513751
AssetBundleManifest:
AssetBundleInfos:
Info_0:
Expand Down
Binary file modified Assets/StreamingAssets/zuidoostbundle
Binary file not shown.
8 changes: 4 additions & 4 deletions Assets/StreamingAssets/zuidoostbundle.manifest
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
ManifestFileVersion: 0
CRC: 4098536447
CRC: 71057019
Hashes:
AssetFileHash:
serializedVersion: 2
Hash: 4b8d4a368be1edc61358c50f29900021
Hash: 0be40743a94ac196e97bb43affd180e0
TypeTreeHash:
serializedVersion: 2
Hash: 31998a90a33c1c9eadbd0294f252490b
IncrementalBuildHash:
serializedVersion: 2
Hash: 4b8d4a368be1edc61358c50f29900021
Hash: 0be40743a94ac196e97bb43affd180e0
HashAppended: 0
ClassTypes:
- Class: 1
Expand Down Expand Up @@ -55,7 +55,7 @@ Assets:
- Assets/_Functionalities/AssetBundles/AssetBundleAssets/textures/Spot_CF.001.mat
- Assets/_Functionalities/AssetBundles/AssetBundleAssets/textures/Image_14.jpg
- Assets/_Functionalities/AssetBundles/AssetBundleAssets/textures/Image_7.jpg
- Assets/_Functionalities/AssetBundles/AssetBundleAssets/zuidoost.prefab
- Assets/_Functionalities/AssetBundles/AssetBundleAssets/Ontwikkeling Zuidoost.prefab
- Assets/_Functionalities/AssetBundles/AssetBundleAssets/textures/Image_0.jpg
- Assets/_Functionalities/AssetBundles/AssetBundleAssets/textures/Image_19.jpg
- Assets/_Functionalities/AssetBundles/AssetBundleAssets/textures/Spot_E.001.mat
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void LoadAssetFromAssetBundle(string bundleName, string fileName, Vector3
string[] names = bundle.GetAllAssetNames();
foreach (string n in names)
{
if (Path.GetFileName(n) == fileName)
if (Path.GetFileName(n) == fileName.ToLower())
{
GameObject asset = bundle.LoadAsset<GameObject>(n);
if (asset != null)
Expand All @@ -90,7 +90,7 @@ public void CreateAssetFromAssetBundle(string bundleName, string fileName, Vecto
string[] names = bundle.GetAllAssetNames();
foreach (string n in names)
{
if (Path.GetFileName(n) == fileName)
if (Path.GetFileName(n) == fileName.ToLower())
{
GameObject asset = bundle.LoadAsset<GameObject>(n);
if (asset != null)
Expand Down

0 comments on commit 3b758f8

Please sign in to comment.