void Start() { if (Instance == null) { Instance = this; audioSourceComp = GetComponent <AudioSource>(); } else { Destroy(this); } if (PlayerPrefs.GetInt(KeySotrage.FIRSTOPEN_I) == 0) { PlayerPrefs.SetInt(KeySotrage.FIRSTOPEN_I, 1); DataSystem.SaveSoundState(true); } Mute(DataSystem.LoadSoundState()); }