void Awake() { if (instance == null) { instance = this; DontDestroyOnLoad(gameObject); } else { Destroy(gameObject); } }
void Start() { instance = this; sfxAudioSource = GetComponent <AudioSource>(); }