void OnTriggerEnter(Collider other) { if (other.tag == "Player") { if (newTrack != null) { theAM.ChangeMusic(newTrack); } } }