void OnCollisionEnter(Collision collision) { if (PlaySoundEffects) { if (aud!=null) { aud.Play(); } } }