public void CloseDown() { Panel.SetActive(false); SettingButton.SetActive(true); StartButton.SetActive(true); YarikataButton.SetActive(true); }
public void SettingDown() { Panel.SetActive(true); SettingButton.SetActive(false); StartButton.SetActive(false); YarikataButton.SetActive(false); speed = PlayerPrefs.GetFloat("speed", 0.04f); BGM.value = PlayerPrefs.GetFloat("BGMVol", 0); SE.value = PlayerPrefs.GetFloat("SEVol", 0); if (speed == 0.04f) { Standard.Select(); } else if (speed == 0.03f) { High.Select(); } else { Slow.Select(); } }