Merge branch 'china/dev-c' of http://60.1.1.230/gaoxin/JL_Client into china/dev-c
commit
df955dac39
|
|
@ -104,7 +104,9 @@ function this.GetChapterLevelData(allChapterId,levelId)
|
|||
end
|
||||
end
|
||||
function this.SetCurChapterId(ChapterId)
|
||||
curChapterId = ChapterId
|
||||
if curChapterId < ChapterId then
|
||||
curChapterId = ChapterId
|
||||
end
|
||||
end
|
||||
function this.GetCurChapterId()
|
||||
return curChapterId
|
||||
|
|
@ -117,7 +119,9 @@ function this.GetisShowChapterOpenPopup()
|
|||
return isShowChapterOpenPopup
|
||||
end
|
||||
function this.SetCurChapterLevelId(ChapterLevelId)
|
||||
curChapterLevelId = ChapterLevelId
|
||||
if curChapterLevelId < ChapterLevelId then
|
||||
curChapterLevelId = ChapterLevelId
|
||||
end
|
||||
end
|
||||
function this.GetCurChapterLevelId()
|
||||
return curChapterLevelId
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ this.timer = Timer.New()
|
|||
function this:InitComponent(gameObject)
|
||||
this.spLoader = SpriteLoader.New()
|
||||
this.backBtn=Util.GetGameObject(gameObject,"bg/backBtn")
|
||||
this.backBtn:SetActive(true)
|
||||
this.Root=Util.GetGameObject(gameObject,"Root")
|
||||
this.proPre=Util.GetGameObject(gameObject,"proPre")
|
||||
this.shengxingIma=Util.GetGameObject(gameObject,"bg/shengxing"):GetComponent("Image")
|
||||
|
|
@ -22,10 +21,6 @@ end
|
|||
function this:BindEvent()
|
||||
Util.AddClick(this.backBtn,function()
|
||||
parent:ClosePanel()
|
||||
if this.timer then
|
||||
this.timer:Stop()
|
||||
this.timer = nil
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
|
|
@ -105,6 +100,7 @@ function this:OnClose()
|
|||
this.timer:Stop()
|
||||
this.timer = nil
|
||||
end
|
||||
parent:ClosePanel()
|
||||
end
|
||||
|
||||
function this:OnDestroy()
|
||||
|
|
|
|||
Loading…
Reference in New Issue