红仙女棒
This commit is contained in:
parent
0630103ce2
commit
9e054a8843
@ -262,6 +262,26 @@ namespace GameLogic
|
|||||||
// 龙卷风特效特殊处理
|
// 龙卷风特效特殊处理
|
||||||
|
|
||||||
}
|
}
|
||||||
|
else if (buff.m_Id == 2)
|
||||||
|
{
|
||||||
|
// 红仙女棒的额外特殊处理
|
||||||
|
var eGo = GameModule.Resource.LoadGameObject("HeShang");
|
||||||
|
eGo.transform.SetParent(m_rectCar.transform);
|
||||||
|
eGo.transform.localPosition = new Vector3(-1500, 0, 0);
|
||||||
|
eGo.transform.localScale = Vector3.one;
|
||||||
|
eGo.gameObject.SetActive(true);
|
||||||
|
|
||||||
|
eGo.transform.DOLocalMoveX(0, 4f).OnComplete(async () =>
|
||||||
|
{
|
||||||
|
await UniTask.Delay(2000);
|
||||||
|
// 特效播放完毕后销毁
|
||||||
|
GameObject.Destroy(eGo);
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
//// 加载常规特效
|
||||||
|
//LoadEffectGo(giftConfig, buff);
|
||||||
|
}
|
||||||
else if (buff.m_Id == 4)
|
else if (buff.m_Id == 4)
|
||||||
{
|
{
|
||||||
// 蓝仙女棒的额外特殊处理
|
// 蓝仙女棒的额外特殊处理
|
||||||
|
Loading…
x
Reference in New Issue
Block a user