[战斗]====================================战中casting立绘太小显示修改
parent
2067f6340a
commit
dc93a8c744
|
@ -157,7 +157,7 @@ function EnemyView:onCreate(go, role, position, root, isBoss,enemyId)
|
|||
self.RoleLiveGOTran2.sizeDelta = Vector2.New(1000, 1000)
|
||||
self.RoleLiveGO2.transform:SetParent(self.RootPanel.enemySkillCastRoot.transform)
|
||||
self.RoleLiveGO2:GetComponent("RectTransform").anchoredPosition = Vector2.New(self.outOffset[1], self.outOffset[2] + 400)
|
||||
self.RoleLiveGO2.transform.localScale = Vector3.one * self.enemy_liveScale --* 2
|
||||
self.RoleLiveGO2.transform.localScale = Vector3.one * self.play_liveScale --* 2
|
||||
self.RoleLiveGO2:SetActive(false)
|
||||
local toward=0
|
||||
if self.skinId~=0 then
|
||||
|
|
|
@ -209,7 +209,7 @@ function PlayerView:onCreate(go, role, position, root)
|
|||
LogRed("painting=="..self.livePath2)
|
||||
self.RoleLiveGO2 = poolManager:LoadLive(self.livePath2, go.transform.parent, Vector3.one, Vector3.zero)
|
||||
self.RoleLiveGO2.transform:SetParent(self.RootPanel.mySkillCastRoot.transform)
|
||||
self.RoleLiveGO2.transform.localScale = Vector3.one * self.enemy_liveScale -- * 0.75--* 1.5
|
||||
self.RoleLiveGO2.transform.localScale = Vector3.one * self.play_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