Menu基本完成

This commit is contained in:
SoulliesOfficial
2025-06-14 14:42:49 -04:00
parent b9e6a9ab25
commit b19469976a
52 changed files with 1380 additions and 363 deletions

View File

@@ -25,18 +25,18 @@ namespace Ichni
public Switch chapterSwitch;
public Switch musicSwitch;
private void Start()
private void Awake()
{
if (instance!=null && instance != this)
{
Destroy(gameObject);
}
else
if (instance == null)
{
instance = this;
DontDestroyOnLoad(gameObject);
isReturnedFromGame = false;
}
else
{
Destroy(gameObject);
}
}
public void SetInformation(string chapterName, string songName, string composerName,