Move fracture voice from Shose click to Point2 click

This commit is contained in:
yangbear
2026-07-11 05:28:03 +08:00
parent 688b4b29fc
commit b18d28fc40
2 changed files with 11 additions and 9 deletions
@@ -137,15 +137,7 @@ public class ShoseClickHandler : MonoBehaviour
touchPoint3.gameObject.SetActive(false);
}
// 点击鞋子时播放原本挂在 point1 上的那段语音(伤员左大腿疑似骨折)
var am = FindObjectOfType<AudioManager>();
if (am != null)
{
#if UNITY_EDITOR
var fractureClip = UnityEditor.AssetDatabase.LoadAssetAtPath<AudioClip>("Assets/Audio/people/伤员左大腿疑似骨折,无伤口.mp3");
if (fractureClip != null) am.PlayVoice(fractureClip);
#endif
}
}
// 切换到摄像机3