【立绘朝向】=====备战界面修改,战斗记录界面灵兽显示主角修改

dev_chengFeng
wangzhenxing 2021-11-27 16:25:21 +08:00
parent ae826de307
commit 0ce834e220
2 changed files with 6 additions and 4 deletions

View File

@ -182,10 +182,12 @@ function this.OnTabChange(index, lastIndex)
local monster=this.battleRecord.mdata
local showList = this.battleRecord.data
if showType == 4 then
showList = this.battleRecord.mdata
showList={}
--= this.battleRecord.mdata
for key, value in pairs(monster) do
if key==100 or key==106 then
table.remove(showList,key)
if key~=100 and key~=106 then
--table.remove(showList,key)
table.insert(showList,value)
end
end
else

View File

@ -520,7 +520,7 @@ function this.SetCardSingleData(o, heroId, _pos, _heroData)
local scale = roleConfig.play_liveScale
local livePos = Vector3.New(roleConfig.offset[1], roleConfig.offset[2], 0)
live.texture = CardRendererManager.GetSpineTexture(_pos, liveName, Vector3.one * scale, livePos, true)
--SetHEeroLiveToward(live,heroData.heroConfig.Toward)
SetHEeroLiveToward(live,heroData.heroConfig.Toward)
live.transform.localScale = Vector3.one
live.transform.localPosition = Vector3.zero