tcx_xiyou_yueNan
parent
f01696bb00
commit
356925708a
|
|
@ -19,6 +19,9 @@ function this:InitComponent()
|
|||
this.desList[i] = {}
|
||||
this.desList[i].go = Util.GetGameObject(this.desGrid, "des" .. i)
|
||||
this.desList[i].des = Util.GetGameObject(this.desList[i].go, "Text"):GetComponent("Text")
|
||||
if i == 2 then
|
||||
this.desList[i].go:SetActive(CheckFunctionOpen(FUNCTION_OPEN_TYPE.Train))
|
||||
end
|
||||
end
|
||||
this.hintTxt = Util.GetGameObject(self.transform, "Content/desGrid/des1/Text1"):GetComponent("Text")
|
||||
this.hintTxt2 = Util.GetGameObject(self.transform, "Content/desGrid/des2/Text2"):GetComponent("Text")
|
||||
|
|
@ -135,7 +138,7 @@ function this:OnOpen(...)
|
|||
this.hintTxt2.gameObject:SetActive(false)
|
||||
this.line:SetActive(false)
|
||||
end
|
||||
|
||||
this.desList[2].go.gameObject:SetActive(CheckFunctionOpen(FUNCTION_OPEN_TYPE.Train))
|
||||
if curSkillData.isOpen then
|
||||
--LogError("skillList[i].needStar=="..skillList[i].needStar)
|
||||
this.hintTxt.gameObject:SetActive(false)
|
||||
|
|
|
|||
Loading…
Reference in New Issue