AudioSource.PlayClipAtPoint(AudioClip, transform.localPosition);
//播放音频,其中的AudioClip类型变量通过public定义之后就可以在unity界面拖拽音频赋值了