【战斗表现】=========我方战中立绘缩放读取字段修改
parent
9830c04a4b
commit
3d4211740c
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue