diff --git a/Assets/Scripts/UI/UIManager.cs b/Assets/Scripts/UI/UIManager.cs index e4656e3..5894a10 100644 --- a/Assets/Scripts/UI/UIManager.cs +++ b/Assets/Scripts/UI/UIManager.cs @@ -246,8 +246,7 @@ public class UIManager : MonoBehaviour if (vp != null) { vp.isLooping = true; - string path = System.IO.Path.Combine(Application.streamingAssetsPath, "Videos", fileName); - vp.url = path; + // 不再通过代码强制覆盖路径,直接播放组件上预先配置好的视频 vp.Play(); } else