修改UITimeTIpBug
This commit is contained in:
parent
08f6967928
commit
bf78008c8a
@ -85,8 +85,15 @@ namespace QFramework.Example
|
|||||||
imgTwen = DOTween.To(() => index, v =>
|
imgTwen = DOTween.To(() => index, v =>
|
||||||
{
|
{
|
||||||
index = v;
|
index = v;
|
||||||
Img.sprite = sprites[index];
|
if (index>=0&&index < sprites.Count)
|
||||||
Img.SetNativeSize();
|
{
|
||||||
|
Img.sprite = sprites[index];
|
||||||
|
Img.SetNativeSize();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.Log("UITimeTipChao suo Yin");
|
||||||
|
}
|
||||||
|
|
||||||
}, endIndex, mData.time);
|
}, endIndex, mData.time);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user