Menu基本完成
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user