void Awake() { if (Instance == null) { Instance = this; DontDestroyOnLoad(this.gameObject); } else { Destroy(gameObject); } }
public void PlayBattleAudio(BattleAudio a) { audio.PlayOneShot(battleAudioClips[(int)a]); }