This commit is contained in:
SoulliesOfficial
2025-07-21 05:42:20 -04:00
parent e483cfe502
commit bae0bfbc20
533 changed files with 172709 additions and 125965 deletions

View File

@@ -15,6 +15,8 @@ namespace Ichni.RhythmGame
public string backgroundSpriteName;
public Sprite backgroundSprite;
public SkyboxSubsetter skyboxSubsetter;
public static BackgroundSetter GenerateElement(string elementName, Guid id, List<string> tags,
bool isFirstGenerated, GameElement parentElement, bool useSkybox, string skyboxThemeBundleName,
string skyboxMaterialName, string backgroundSpriteName)
@@ -32,7 +34,7 @@ namespace Ichni.RhythmGame
public override void Refresh()
{
GameManager.instance.backgroundController.EnableBackground(!useSkybox);
if (useSkybox)
if (useSkybox && skyboxSubsetter == null)
{
SetSkybox(skyboxThemeBundleName, skyboxMaterialName);
}