/// <summary> /// 其他 once at point /// </summary> /// <param name="clipName"></param> /// <param name="pos"></param> public void playAtPoint(string clipName, Vector3 pos) { AudioClipMgr.getAudioClip(clipName, (clip) => { playClipAtPoint(clip, pos); }); }
/// <summary> /// 主角 /// </summary> /// <param name="clipName"></param> public void playRoleAudio(string clipName) { if (RoleAudioListener != null) { AudioClipMgr.getAudioClip(clipName, playRoleOneShot); } }