Compare commits
No commits in common. "bdd2997382f55f4a49fd80815b55c9b8d93bfa7c" and "b6cf68a2c11c182a6962f5e90781e9e45a565c23" have entirely different histories.
bdd2997382
...
b6cf68a2c1
@ -135,13 +135,10 @@ namespace QFramework.Example
|
|||||||
VideoContent.rectTransform.sizeDelta = mData.size;
|
VideoContent.rectTransform.sizeDelta = mData.size;
|
||||||
}
|
}
|
||||||
VideoContent.transform.localPosition = mData.offset;
|
VideoContent.transform.localPosition = mData.offset;
|
||||||
string path = Global.videoPath + mData.url;
|
|
||||||
if (string.IsNullOrEmpty(path) == false)
|
player.url = Global.videoPath + mData.url;
|
||||||
{
|
player.Play();
|
||||||
player.url = path;
|
SetImg();
|
||||||
player.Play();
|
|
||||||
SetImg();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void VideoPlayer_loopPointReached(UnityEngine.Video.VideoPlayer source)
|
private void VideoPlayer_loopPointReached(UnityEngine.Video.VideoPlayer source)
|
||||||
|
|||||||
@ -78,7 +78,7 @@ namespace QFramework.Example
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
label.color = isOn == true ? Color.blue : Color.black;
|
label.color = isOn == true ? Color.black : Color.blue;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (itemData.subs != null && itemData.subs.Count > 0)
|
if (itemData.subs != null && itemData.subs.Count > 0)
|
||||||
@ -91,6 +91,9 @@ namespace QFramework.Example
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
toggle.group = LeftContent.GetComponent<ToggleGroup>();
|
toggle.group = LeftContent.GetComponent<ToggleGroup>();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user