【战斗表现】=========我方战中立绘缩放读取字段修改

dev_chengFeng
wangzhenxing 2021-11-19 11:19:18 +08:00
parent 9830c04a4b
commit 3d4211740c
1 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ function PlayerView:onCreate(go, role, position, root)
--self.RootPanel.PlayerPanel, "live_"..position
self.RoleLiveGO.transform:SetParent(Util.GetTransform(self.RootPanel.PlayerPanel, "live_"..position))
self.RoleLiveGO:GetComponent("RectTransform").anchoredPosition = Vector2.New(self.outOffset[1], self.outOffset[2])-- * 0.5
self.RoleLiveGO.transform.localScale = Vector3.one * self.play_liveScale
self.RoleLiveGO.transform.localScale = Vector3.one * self.enemy_liveScale
self.RoleLiveGO:SetActive(true)
@ -121,7 +121,7 @@ function PlayerView:onCreate(go, role, position, root)
-- casting技能立绘
self.RoleLiveGO2 = poolManager:LoadLive(self.livePath, go.transform.parent, Vector3.one, Vector3.zero)
self.RoleLiveGO2.transform:SetParent(self.RootPanel.mySkillCastRoot.transform)
self.RoleLiveGO2.transform.localScale = Vector3.one * self.play_liveScale -- * 0.75--* 1.5
self.RoleLiveGO2.transform.localScale = Vector3.one * self.enemy_liveScale -- * 0.75--* 1.5
self.RoleLiveGO2.transform.anchoredPosition = Vector2.New(self.outOffset[1], self.outOffset[2] - 300)
self.RoleLiveGO2:SetActive(false)
self.RoleLiveGOGraphic2 = self.RoleLiveGO2:GetComponent("SkeletonGraphic")