Compare commits

...

2 Commits

Author SHA1 Message Date
7cd4311e7a Merge branch 'NewMaster' into LouDi_Pig 2025-04-03 17:32:02 +08:00
bf78008c8a 修改UITimeTIpBug 2025-04-03 17:31:32 +08:00

View File

@ -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);