1
0
Fork 0

Rename DiscoBall asset bundle

There is going to be another bundle, so we want some distinctive names.
This commit is contained in:
ivan tkachenko 2025-07-31 21:22:28 +03:00
parent bacb9f07c7
commit b70e868ac4
3 changed files with 3 additions and 3 deletions

View File

@ -21,8 +21,8 @@ namespace MuzikaGromche
public static void Initialize()
{
string assetdir = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "muzikagromche");
var bundle = AssetBundle.LoadFromFile(assetdir);
string bundlePath = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "muzikagromche_discoball");
var bundle = AssetBundle.LoadFromFile(bundlePath);
foreach ((string prefabPath, string tileName) in new[] {
("Assets/LethalCompany/Mods/MuzikaGromche/DiscoBallContainerManor.prefab", "ManorStartRoomSmall"),

View File

@ -54,7 +54,7 @@
<PackagedResources Include="$(SolutionDir)README.md" />
<PackagedResources Include="$(SolutionDir)icon.png" />
<PackagedResources Include="$(SolutionDir)manifest.json" />
<PackagedResources Include="$(ProjectDir)UnityAssets\muzikagromche" />
<PackagedResources Include="$(ProjectDir)UnityAssets\muzikagromche_discoball" />
<PackagedResources Include="$(TargetDir)MuzikaGromche.dll" />
</ItemGroup>