提交龙卷风效果
This commit is contained in:
parent
027e5efec6
commit
4eaecb81d7
@ -492,8 +492,8 @@ namespace GameLogic
|
|||||||
// 添加减速Buff给到
|
// 添加减速Buff给到
|
||||||
var eGo = GameModule.Resource.LoadGameObject(giftConfig.EffectName);
|
var eGo = GameModule.Resource.LoadGameObject(giftConfig.EffectName);
|
||||||
eGo.transform.SetParent(item.Value.GetRect().transform);
|
eGo.transform.SetParent(item.Value.GetRect().transform);
|
||||||
//eGo.transform.localPosition = actor.GetRect().transform.position; // 设置到目标父节点位置
|
//eGo.transform.position = actor.GetRect().transform.position;
|
||||||
eGo.transform.position = actor.GetRect().transform.position;
|
eGo.transform.localPosition = new Vector3(500, 0, 0);
|
||||||
eGo.transform.localScale = Vector3.one * 20;
|
eGo.transform.localScale = Vector3.one * 20;
|
||||||
m_Buff1.m_EffectGo = eGo;
|
m_Buff1.m_EffectGo = eGo;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user