【身外化身】=======化身位置修改

dev_chengFeng
wangzhenxing 2021-11-27 15:45:21 +08:00
parent 12e091408d
commit cbcead2f50
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ function MonsterView:OnSkillCastStart(skill)
--self.RoleLiveGO3.transform.position=Vector3.zero
local offset = self.camp == 0 and SpiritAnimal[20100].offset or SpiritAnimal[20100].enemy_offset
local add=roleConfig.enemy_offset
self.RoleLiveGO3:GetComponent("RectTransform").anchoredPosition = Vector2.New(offset[1]+add[1], offset[2]+add[2]+180)
self.RoleLiveGO3:GetComponent("RectTransform").anchoredPosition = Vector2.New(0, offset[2]+add[2]+180)
if self.camp==1 then
self.RoleLiveGO3.transform.rotation=Vector3.New(0,180,0)
end