make assetbundle names good (#449)

public is for the public unity repo and private is for the private one
that contains base game assets
This commit is contained in:
Nick 2022-11-23 21:12:01 -05:00 committed by GitHub
commit 9f8fecacb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 7 additions and 6 deletions

Binary file not shown.

View File

@ -1,9 +1,9 @@
ManifestFileVersion: 0
CRC: 1541488892
CRC: 1932961951
Hashes:
AssetFileHash:
serializedVersion: 2
Hash: a2716f51c51e3a466cac07f647f7b0ef
Hash: 79142e7d68648a06c0ed2fc15ebbac48
TypeTreeHash:
serializedVersion: 2
Hash: fae511e2df3c6c74353879b4753cf2eb
@ -167,6 +167,7 @@ ClassTypes:
Script: {instanceID: 0}
- Class: 199
Script: {instanceID: 0}
SerializeReferenceClassIdentifiers: []
Assets:
- Assets/Vessel_Body.prefab
Dependencies: []

Binary file not shown.

View File

@ -1,9 +1,9 @@
ManifestFileVersion: 0
CRC: 2022446871
CRC: 1013046168
Hashes:
AssetFileHash:
serializedVersion: 2
Hash: 083882699617744b8fc49234bb8cb795
Hash: 0123e044c220152b98ceaf0975b8cadd
TypeTreeHash:
serializedVersion: 2
Hash: 10a6a558690295dadb3dd990eda0821a

Binary file not shown.

View File

@ -22,7 +22,7 @@ namespace NewHorizons.Handlers
public static void Initialize()
{
VesselBundle = Instance.ModHelper.Assets.LoadBundle("Assets/vessel.newhorizons");
VesselBundle = Instance.ModHelper.Assets.LoadBundle("Assets/newhorizons_private");
VesselPrefab = VesselBundle.LoadAsset<GameObject>("Vessel_Body");
}

View File

@ -195,7 +195,7 @@ namespace NewHorizons
GlobalMessenger<DeathType>.AddListener("PlayerDeath", OnDeath);
GlobalMessenger.AddListener("WakeUp", OnWakeUp);
NHAssetBundle = ModHelper.Assets.LoadBundle("Assets/xen.newhorizons");
NHAssetBundle = ModHelper.Assets.LoadBundle("Assets/newhorizons_public");
VesselWarpHandler.Initialize();
ResetConfigs(resetTranslation: false);