十绝阵

onepiece_demo_arena
xiejun 2023-12-08 22:42:41 +08:00
parent 86701e3a78
commit 81a363236c
1 changed files with 2 additions and 2 deletions

View File

@ -243,10 +243,10 @@ function this.SetCardSingleData(o, heroId, _pos, heroData)
rage.gameObject:SetActive(false)
local live = Util.GetGameObject(o, "Mask/icon"):GetComponent("RawImage")
local config = heroConfig[heroId]
local liveName = GetResourcePath(config.Live)
local liveName = GetResourcePath(config.Painting)
local roleConfig = ConfigManager.GetConfigData(ConfigName.RoleConfig, heroId)
local scale = roleConfig.play_liveScale
local livePos = Vector3.New(roleConfig.offset[1], roleConfig.offset[2]+200, 0)
local livePos = Vector3.New(roleConfig.offset[1], roleConfig.offset[2], 0)
live.texture = CardRendererManager.GetSpineTexture(_pos, liveName, Vector3.one * scale, livePos, true)
live.transform.localScale = Vector3.one
live.transform.localPosition = Vector3.zero