登陆界面去掉儿童协议,主角信息去掉特权等级按钮
parent
be76933912
commit
a0fa68be2a
|
@ -116,7 +116,7 @@ function this:InitComponent()
|
||||||
this.ConfirmBtn = Util.GetGameObject(this.gameObject, "protos/Confirm")
|
this.ConfirmBtn = Util.GetGameObject(this.gameObject, "protos/Confirm")
|
||||||
this.ConfirmImg = Util.GetGameObject(this.ConfirmBtn, "gou")
|
this.ConfirmImg = Util.GetGameObject(this.ConfirmBtn, "gou")
|
||||||
this.protos:SetActive(IsUserProtoActive)
|
this.protos:SetActive(IsUserProtoActive)
|
||||||
this.newproto:SetActive(IsUserProtoActive)
|
this.newproto:SetActive(false)
|
||||||
end
|
end
|
||||||
|
|
||||||
--绑定事件(用于子类重写)
|
--绑定事件(用于子类重写)
|
||||||
|
@ -477,7 +477,7 @@ function this.RequestProtos(userId)
|
||||||
end
|
end
|
||||||
if UrlList[1] ~= "" and UrlList[2] ~="" then
|
if UrlList[1] ~= "" and UrlList[2] ~="" then
|
||||||
this.protos:SetActive(true)
|
this.protos:SetActive(true)
|
||||||
this.newproto:SetActive(true)
|
this.newproto:SetActive(false)
|
||||||
HaveConfirm = true
|
HaveConfirm = true
|
||||||
else
|
else
|
||||||
this.protos:SetActive(false)
|
this.protos:SetActive(false)
|
||||||
|
|
|
@ -148,7 +148,7 @@ end
|
||||||
function PlayerInfoView:SetPrivilegeShow(isShow)
|
function PlayerInfoView:SetPrivilegeShow(isShow)
|
||||||
self.vipPrivilegeBtn:SetActive(false)
|
self.vipPrivilegeBtn:SetActive(false)
|
||||||
--self.btn_mingwang:SetActive(not not isShow)
|
--self.btn_mingwang:SetActive(not not isShow)
|
||||||
self.btn_mingwang:SetActive(true)
|
self.btn_mingwang:SetActive(false)
|
||||||
end
|
end
|
||||||
|
|
||||||
return PlayerInfoView
|
return PlayerInfoView
|
Loading…
Reference in New Issue