修复答题页视频播放结束 无限loading

This commit is contained in:
“虞渠成” 2026-06-26 15:31:20 +08:00
parent e5e6c2bb99
commit e3cdc4b539

View File

@ -41,7 +41,7 @@ public class SafetylearningAnswer : MonoBehaviour
{
video.gameObject.SetActive(true);
video.transform.SetAsLastSibling();
video.SetVideo(videoUrl);
video.Init(videoUrl,null);
video.gameObject.transform.parent.SetAsLastSibling();
}
else