1
This commit is contained in:
parent
aeeb103feb
commit
6da0671d85
@ -8,6 +8,7 @@ using UnityEngine;
|
||||
using System;
|
||||
using DG.Tweening;
|
||||
using Coffee.UIExtensions;
|
||||
using Cysharp.Threading.Tasks;
|
||||
|
||||
namespace GameLogic
|
||||
{
|
||||
@ -525,9 +526,13 @@ namespace GameLogic
|
||||
m_Buff1.m_EffectGo = eGo;
|
||||
|
||||
// 移动特效
|
||||
eGo.transform.DOLocalMove(Vector3.zero, 1.5f).OnComplete(() =>
|
||||
eGo.transform.DOLocalMove(Vector3.zero, 1.5f).OnComplete(async () =>
|
||||
{
|
||||
|
||||
await UniTask.Delay(2000);
|
||||
if (eGo != null)
|
||||
{
|
||||
GameObject.Destroy(eGo);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user