parent
8afa0c96a8
commit
5cef7f561a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue