【立绘错位】尝试修复神将卡牌上有时会出现立绘错位
parent
0458ee7bf7
commit
8494dd02d7
|
@ -47,6 +47,8 @@ function CardRendererManager.GetSpineTexture(pos, liveName, scaleV3, posV3, isRe
|
||||||
|
|
||||||
-- 创建新资源
|
-- 创建新资源
|
||||||
local parent = this.renderList[this.indexFlag].transform
|
local parent = this.renderList[this.indexFlag].transform
|
||||||
|
parent.transform.localScale = Vector3.one
|
||||||
|
parent.transform.localPosition = Vector3(0, 0, 0)
|
||||||
local liveNode = poolManager:LoadLive(liveName, parent, scaleV3, posV3 + Vector3(0, -120, 0), onClear)
|
local liveNode = poolManager:LoadLive(liveName, parent, scaleV3, posV3 + Vector3(0, -120, 0), onClear)
|
||||||
this.liveList[this.indexFlag] = {
|
this.liveList[this.indexFlag] = {
|
||||||
name = liveName,
|
name = liveName,
|
||||||
|
|
Loading…
Reference in New Issue