【提交】
parent
5d92af4aea
commit
fd964d842b
|
@ -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
|
||||
|
||||
|
|
|
@ -295,7 +295,7 @@ end
|
|||
|
||||
--界面打开时调用(用于子类重写)
|
||||
function CreateNamePopup:OnOpen(...)
|
||||
|
||||
SoundManager.PlayMusic(SoundConfig.BGM_Main)
|
||||
local args = {...}
|
||||
this.showType = args[1]
|
||||
this.eventId = args[2]
|
||||
|
|
Loading…
Reference in New Issue