1
This commit is contained in:
parent
c5cf34ba6e
commit
46e7d057e3
@ -426,13 +426,14 @@ namespace GameLogic
|
||||
eGo.transform.localPosition = Vector3.zero;
|
||||
eGo.transform.localScale = Vector3.one * 0.6f;
|
||||
eGo.gameObject.SetActive(true);
|
||||
eGo.transform.DOLocalMoveX(0, 4f).OnComplete(() =>
|
||||
eGo.transform.localPosition = new Vector3(-1500, 0, 0);
|
||||
eGo.transform.DOLocalMoveX(0, 4f).OnComplete(async () =>
|
||||
{
|
||||
await UniTask.Delay(2000);
|
||||
// 特效播放完毕后销毁
|
||||
GameObject.Destroy(eGo);
|
||||
});
|
||||
|
||||
|
||||
// 加载常规特效
|
||||
LoadEffectGo(giftConfig, buff);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user