合并
This commit is contained in:
commit
bdd2997382
@ -135,11 +135,14 @@ namespace QFramework.Example
|
||||
VideoContent.rectTransform.sizeDelta = mData.size;
|
||||
}
|
||||
VideoContent.transform.localPosition = mData.offset;
|
||||
|
||||
player.url = Global.videoPath + mData.url;
|
||||
string path = Global.videoPath + mData.url;
|
||||
if (string.IsNullOrEmpty(path) == false)
|
||||
{
|
||||
player.url = path;
|
||||
player.Play();
|
||||
SetImg();
|
||||
}
|
||||
}
|
||||
|
||||
private void VideoPlayer_loopPointReached(UnityEngine.Video.VideoPlayer source)
|
||||
{
|
||||
|
||||
@ -78,7 +78,7 @@ namespace QFramework.Example
|
||||
}
|
||||
else
|
||||
{
|
||||
label.color = isOn == true ? Color.black : Color.blue;
|
||||
label.color = isOn == true ? Color.blue : Color.black;
|
||||
}
|
||||
});
|
||||
if (itemData.subs != null && itemData.subs.Count > 0)
|
||||
@ -91,9 +91,6 @@ namespace QFramework.Example
|
||||
else
|
||||
{
|
||||
toggle.group = LeftContent.GetComponent<ToggleGroup>();
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user