女人物大小修改

(cherry picked from commit 5320fb5211)
dev_chengFeng
ZhangBiao 2020-09-28 16:05:34 +08:00
parent 8afa0c96a8
commit 5cef7f561a
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ function DemonSlayerPanel:SetRank(ActInfo)
--加载立绘 --加载立绘
npc = allRankData[i].sex == ROLE_SEX.BOY and mapNpc or mapNpc2 npc = allRankData[i].sex == ROLE_SEX.BOY and mapNpc or mapNpc2
local scale = allRankData[i].sex == ROLE_SEX.BOY and Vector3.one * 0.45 or Vector3.one * 0.35 local scale = allRankData[i].sex == ROLE_SEX.BOY and Vector3.one * 0.45 or Vector3.one * 0.25
npcList[i] = poolManager:LoadLive(npc, livePrefab.transform, scale, Vector3.New(0,-158.31,0)) npcList[i] = poolManager:LoadLive(npc, livePrefab.transform, scale, Vector3.New(0,-158.31,0))
local SkeletonGraphic = npcList[i]:GetComponent("SkeletonGraphic") local SkeletonGraphic = npcList[i]:GetComponent("SkeletonGraphic")
if SkeletonGraphic then if SkeletonGraphic then