private void Start() { if (singleton == this && music != null) { music.Play(); } }
// Update is called once per frame void Update() { if (Input.GetKeyDown("space")) { testSFX.Play(); } if (Input.GetKeyDown("s")) { testSFX.Stop(); } }