ShaoNv
parent
4779fc06be
commit
5fee6b9588
|
|
@ -223,9 +223,11 @@ function this.SetCardSingleData(o,monsterId, _pos)
|
|||
|
||||
local live = Util.GetGameObject(o, "Mask/icon"):GetComponent("RawImage")
|
||||
live.transform.rotation=Vector3.New(0,0,0)
|
||||
local liveName = GetResourcePath(heroConfig.Painting)
|
||||
--local liveName = GetResourcePath(heroConfig.Painting)
|
||||
local liveName = GetResourcePath(heroConfig.Live)
|
||||
local roleConfig = ConfigManager.GetConfigData(ConfigName.RoleConfig, heroConfig.Id)
|
||||
local scale = roleConfig.play_liveScale
|
||||
--local livePos = Vector3.New(roleConfig.offset[1], roleConfig.offset[2], 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
|
||||
|
|
|
|||
Loading…
Reference in New Issue