void Start() { path = Application.dataPath + "/stageDisc.txt"; _stageText = GetDescription(); _stageDisc = _stageText.Split(_delim); _firstSelect.Select(); AudioManager.Instance.BgmStart(ac); stageNum = 0; Configs.ConfigReset(false); }
// Use this for initialization void Start() { AudioManager.Instance.BgmStop(); _eventSystem.enabled = false; AudioManager.Instance.audioSource.outputAudioMixerGroup = _BGMMixer; //ConfigManager.Instance.charaSelect = selectCharcter; PlayerPrefs.DeleteKey("winner"); PlayerPrefs.DeleteKey("stage"); Configs.Instance.charaSelect = selectCharcter; Configs.ConfigReset(); }