swap out title screen hover sound

remove the old config path warning
This commit is contained in:
minenice55 2023-08-16 08:15:24 -04:00
parent 70f88eb0ba
commit cd10c4a543
2 changed files with 21 additions and 21 deletions

View file

@ -43,27 +43,27 @@ namespace HeavenStudio
buildText.text = Application.buildGUID.Substring(0, 8) + " " + AppInfo.Date.ToString("dd/MM/yyyy hh:mm:ss");
#endif
if (Application.platform is RuntimePlatform.OSXPlayer or RuntimePlatform.OSXEditor)
{
// if (Application.platform is RuntimePlatform.OSXPlayer or RuntimePlatform.OSXEditor)
// {
versionDisclaimer.text = "";
}
else
{
string ver = "<color=#FFFFCC>If you're coming from an older Heaven Studio build, copy your settings configs over from\n<color=#FFFF00>";
if (Application.platform is RuntimePlatform.WindowsPlayer or RuntimePlatform.WindowsEditor)
{
ver += Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) + "\\AppData\\LocalLow\\Megaminerzero\\Heaven Studio\\";
ver += "<color=#FFFFCC>\nto\n<color=#FFFF00>";
ver += Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) + "\\AppData\\LocalLow\\RHeavenStudio\\Heaven Studio\\";
}
else if (Application.platform is RuntimePlatform.LinuxPlayer or RuntimePlatform.LinuxEditor)
{
ver += "~/.config/unity3d/Megaminerzero/Heaven Studio/";
ver += "<color=#FFFFCC>\nto\n<color=#FFFF00>";
ver += "~/.config/unity3d/RHeavenStudio/Heaven Studio/";
}
versionDisclaimer.text = ver;
}
// }
// else
// {
// string ver = "<color=#FFFFCC>If you're coming from an older Heaven Studio build, copy your settings configs over from\n<color=#FFFF00>";
// if (Application.platform is RuntimePlatform.WindowsPlayer or RuntimePlatform.WindowsEditor)
// {
// ver += Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) + "\\AppData\\LocalLow\\Megaminerzero\\Heaven Studio\\";
// ver += "<color=#FFFFCC>\nto\n<color=#FFFF00>";
// ver += Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) + "\\AppData\\LocalLow\\RHeavenStudio\\Heaven Studio\\";
// }
// else if (Application.platform is RuntimePlatform.LinuxPlayer or RuntimePlatform.LinuxEditor)
// {
// ver += "~/.config/unity3d/Megaminerzero/Heaven Studio/";
// ver += "<color=#FFFFCC>\nto\n<color=#FFFF00>";
// ver += "~/.config/unity3d/RHeavenStudio/Heaven Studio/";
// }
// versionDisclaimer.text = ver;
// }
if (!GlobalGameManager.IsFirstBoot && !PersistentDataManager.gameSettings.showSplash)
{

View file

@ -128,7 +128,7 @@ namespace HeavenStudio
targetBopBeat += 1;
if ((!settingsPanel.IsOpen) && logoRevealed && logoHoverCollider.OverlapPoint(Camera.main.ScreenToWorldPoint(Input.mousePosition)))
{
SoundByte.PlayOneShot("count-ins/cowbell");
SoundByte.PlayOneShot("metronome");
}
}
}