三视频选择考核不显示

This commit is contained in:
丛刚 2025-02-11 16:49:39 +08:00
parent 1d72efbd2a
commit 1688e7d967
2 changed files with 7 additions and 4 deletions

View File

@ -717,7 +717,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 1, b: 0, a: 1}
m_Color: {r: 0, g: 0.15852594, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
@ -792,7 +792,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 1, b: 0, a: 1}
m_Color: {r: 0, g: 0.15852594, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
@ -1432,7 +1432,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 1, b: 0, a: 1}
m_Color: {r: 0, g: 0.15852594, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1

View File

@ -47,8 +47,11 @@ namespace ZXK.LouDiXvMuNiu
VideoPlayer videoPlayCtrl = _videoItemContainer.GetChild(i).Find("Video Player").GetComponent<VideoPlayer>();
videoPlayCtrl.url = _videoPath;
_videoItemContainer.GetChild(i).Find("Text").GetComponent<Text>().text = tipMsg[i];
videoPlayCtrl.Play();
videoPlayCtrl.Play();
_videoItemContainer.GetChild(i).GetComponent<Toggle>().interactable = selAble;
if(selAble&&i==0){
_videoItemContainer.GetChild(i).GetComponent<Toggle>().isOn = false;
}
}
else
{