Example #1
0
    IEnumerator OnTriggerEnter2D(Collider2D coll)
    {
        if (coll.gameObject.tag == "Player")
        {
            sfx.PlayOWMusic();
        }

        yield return(null);
    }