至尊降世报错修改提交
parent
ad84124cd9
commit
b24061ccd0
|
@ -127,6 +127,7 @@ end
|
||||||
function this.LoadLive2D()
|
function this.LoadLive2D()
|
||||||
local liveId = ActivityGiftManager.GetActivityDataById(42).Drawing
|
local liveId = ActivityGiftManager.GetActivityDataById(42).Drawing
|
||||||
heroId = liveId or 10011
|
heroId = liveId or 10011
|
||||||
|
heroData = heroConfig[heroId]
|
||||||
liveId = heroConfig[heroId].Live
|
liveId = heroConfig[heroId].Live
|
||||||
this.clickName.text = GetLanguageStrById(heroConfig[heroId].ReadingName)
|
this.clickName.text = GetLanguageStrById(heroConfig[heroId].ReadingName)
|
||||||
SetTextVerTial(this.clickName,Vector3.New(59,-10,0))
|
SetTextVerTial(this.clickName,Vector3.New(59,-10,0))
|
||||||
|
@ -243,7 +244,6 @@ end
|
||||||
|
|
||||||
function this.InitShow()
|
function this.InitShow()
|
||||||
ActivityGiftManager.isFirstForSupremeHero = true
|
ActivityGiftManager.isFirstForSupremeHero = true
|
||||||
--heroData = heroConfig[heroId]
|
|
||||||
|
|
||||||
actIsOpen = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.SupremeHero) > 0
|
actIsOpen = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.SupremeHero) > 0
|
||||||
actData = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.SupremeHero)
|
actData = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.SupremeHero)
|
||||||
|
|
Loading…
Reference in New Issue