【新将来袭】更换英雄立绘
parent
a6911749d2
commit
60f7411574
|
|
@ -159,7 +159,10 @@ function XinJiangLaiXi:OnShowData()
|
|||
poolManager:UnLoadLive(this.LiveObj.name,this.LiveObj)
|
||||
this.LiveObj = nil
|
||||
end
|
||||
this.LiveObj = poolManager:LoadLive("live2d_c_bgj_00091",this.liveRoot.transform, Vector3.one*0.8, Vector2.New(0,-330))
|
||||
local configData = ConfigManager.GetConfigData(ConfigName.NewHeroConfig,allData.activityId)
|
||||
local HeroId = configData.HeroId
|
||||
local imgName = GetResourcePath(ConfigManager.GetConfigData(ConfigName.HeroConfig,HeroId).Live)
|
||||
this.LiveObj = poolManager:LoadLive(imgName,this.liveRoot.transform, Vector3.one*configData.Size[1], Vector2.New(configData.Size[2],configData.Size[3]))
|
||||
|
||||
this.tip1.text = "剩余挑战次数:".."<color=#6BC74D>"..allData.fightTime.."</color>"
|
||||
this.tip2.text = "剩余购买次数:".."<color=#6BC74D>"..allData.buyTime.."</color>"
|
||||
|
|
|
|||
Loading…
Reference in New Issue