This commit is contained in:
DESKTOP-SAJ6RKV\Administrator 2025-05-30 15:35:08 +08:00
parent 6da0671d85
commit 5e44103780

View File

@ -528,11 +528,7 @@ namespace GameLogic
// 移动特效 // 移动特效
eGo.transform.DOLocalMove(Vector3.zero, 1.5f).OnComplete(async () => eGo.transform.DOLocalMove(Vector3.zero, 1.5f).OnComplete(async () =>
{ {
await UniTask.Delay(2000); GameObject.Destroy(eGo);
if (eGo != null)
{
GameObject.Destroy(eGo);
}
}); });
} }