调整
This commit is contained in:
parent
15933b707c
commit
45cbc60ebd
@ -317,6 +317,20 @@ namespace GameLogic
|
||||
|
||||
GameModule.Timer.AddTimer((e) =>
|
||||
{
|
||||
|
||||
// 生成新爆点
|
||||
var eGoBoom = GameModule.Resource.LoadGameObject("LJF_Boom");
|
||||
eGoBoom.transform.SetParent(m_rectCar.transform);
|
||||
eGoBoom.transform.localPosition = new Vector3(0, 0, 0);
|
||||
eGoBoom.transform.localScale = Vector3.one;
|
||||
eGoBoom.gameObject.SetActive(true);
|
||||
|
||||
eGoBoom.transform.DOLocalMoveX(0, 3f).OnComplete(async () =>
|
||||
{
|
||||
// 特效播放完毕后销毁
|
||||
GameObject.Destroy(eGoBoom);
|
||||
});
|
||||
|
||||
SetCurrenFill();
|
||||
|
||||
// 直接扣
|
||||
|
Loading…
x
Reference in New Issue
Block a user