SK_LongZhu
parent
35293901ef
commit
a25b53a9b1
|
@ -210,7 +210,7 @@ function Practice:BindEvent()
|
||||||
BindRedPointObject(RedPointType.incarnation,self.incarnationBtnRed)
|
BindRedPointObject(RedPointType.incarnation,self.incarnationBtnRed)
|
||||||
BindRedPointObject(RedPointType.Practice,self.practice_tab)
|
BindRedPointObject(RedPointType.Practice,self.practice_tab)
|
||||||
BindRedPointObject(RedPointType.Gem,self.gemRedPoint)
|
BindRedPointObject(RedPointType.Gem,self.gemRedPoint)
|
||||||
BindRedPointObject(RedPointType.playerGift,self.giftRedPoint)
|
--BindRedPointObject(RedPointType.playerGift,self.giftRedPoint)
|
||||||
end
|
end
|
||||||
function Practice:BtnClickEvent()
|
function Practice:BtnClickEvent()
|
||||||
NetManager.UpPracticeLevelRequest(function ()
|
NetManager.UpPracticeLevelRequest(function ()
|
||||||
|
@ -467,6 +467,7 @@ function Practice:RefreshBtn()
|
||||||
self.talsmanSoulBtn:SetActive(ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.TailsmanSoul))
|
self.talsmanSoulBtn:SetActive(ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.TailsmanSoul))
|
||||||
self.incarnationBtn:SetActive(ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.Incarnation))
|
self.incarnationBtn:SetActive(ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.Incarnation))
|
||||||
self.giftBtn:SetActive(CheckFunctionOpen(FUNCTION_OPEN_TYPE.Gift))
|
self.giftBtn:SetActive(CheckFunctionOpen(FUNCTION_OPEN_TYPE.Gift))
|
||||||
|
self.giftBtn:SetActive(false)
|
||||||
self.noOpenTip:SetActive(false)
|
self.noOpenTip:SetActive(false)
|
||||||
if XinXianConfig[PracticeManager.PracticeLevel + 1] then
|
if XinXianConfig[PracticeManager.PracticeLevel + 1] then
|
||||||
self.button:SetActive(true)
|
self.button:SetActive(true)
|
||||||
|
@ -553,7 +554,7 @@ function Practice:OnDestroy()
|
||||||
ClearRedPointObject(RedPointType.incarnation,self.incarnationBtnRed)
|
ClearRedPointObject(RedPointType.incarnation,self.incarnationBtnRed)
|
||||||
ClearRedPointObject(RedPointType.Practice,self.practice_tab)
|
ClearRedPointObject(RedPointType.Practice,self.practice_tab)
|
||||||
ClearRedPointObject(RedPointType.Gem,self.gemRedPoint)
|
ClearRedPointObject(RedPointType.Gem,self.gemRedPoint)
|
||||||
ClearRedPointObject(RedPointType.playerGift,self.giftRedPoint)
|
--ClearRedPointObject(RedPointType.playerGift,self.giftRedPoint)
|
||||||
for i = 1, 4 do
|
for i = 1, 4 do
|
||||||
ClearRedPointObject(500+i*100,Util.GetGameObject(self.Practice, "SkillObj/skill"..i.."/red"))
|
ClearRedPointObject(500+i*100,Util.GetGameObject(self.Practice, "SkillObj/skill"..i.."/red"))
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue