【提交】

dev_chengFeng
zhangqiang 2021-05-27 16:51:29 +08:00
parent 5d92af4aea
commit fd964d842b
2 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ function this.SetCardSingleData(o,monsterId, _pos)
local roleConfig = ConfigManager.GetConfigData(ConfigName.RoleConfig, heroConfig.Id)
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)
live.texture = CardRendererManager.GetSpineTexture(_pos + 6, liveName, Vector3.one * scale, livePos, true)
live.transform.localScale = Vector3.one
live.transform.localPosition = Vector3.zero

View File

@ -295,7 +295,7 @@ end
--界面打开时调用(用于子类重写)
function CreateNamePopup:OnOpen(...)
SoundManager.PlayMusic(SoundConfig.BGM_Main)
local args = {...}
this.showType = args[1]
this.eventId = args[2]