Merge branch 'china/dev-c' of http://60.1.1.230/gaoxin/JL_Client into china/dev-c

dev_chengFeng
jiaoyangna 2021-06-09 18:14:43 +08:00
commit ebfd313e12
1 changed files with 2 additions and 2 deletions

View File

@ -290,10 +290,10 @@ function SkillCaster:CheckFullSceenSkill(combat, skill)
if self:CheckRotate(go2, combat.Orientation) then
offset = -offset
end
go2.transform.localScale = Vector3.one
go2.transform.localPosition = Vector3.zero
go2.transform.anchoredPosition = offset
go2.transform:SetParent(self.effectRoot.transform)
go2.transform.localScale = Vector3.one
go2:SetActive(true)
BattleManager.AddDelayRecycleRes(combat.Bullet, go2, 4)
end
@ -333,10 +333,10 @@ function SkillCaster:CheckFullSceenSkill(combat, skill)
if self:CheckRotate(go2, combat.Orientation) then
offset = -offset
end
go2.transform.localScale = Vector3.one
go2.transform.localPosition = Vector3.zero
go2.transform.anchoredPosition = offset
go2.transform:SetParent(self.effectRoot.transform)
go2.transform.localScale = Vector3.one
go2:SetActive(true)
--
local targetPos = go2.transform.localPosition