Compare commits
2 Commits
848ddbb8ce
...
7cd4311e7a
| Author | SHA1 | Date | |
|---|---|---|---|
| 7cd4311e7a | |||
| 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