[战斗]====================================战中casting立绘太小显示修改

onepiece_demo_arena
wangzhenxing 2024-01-22 19:46:00 +08:00
parent 2067f6340a
commit dc93a8c744
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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")