聊天开启条件修改
parent
092273d825
commit
0091feefd8
|
@ -218,20 +218,20 @@ function this.OnTabChange(index, lastIndex)
|
|||
LogError("VipManager.GetChargedNum()=="..VipManager.GetChargedNum())
|
||||
--ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.CHAT)
|
||||
--xiao7 渠道
|
||||
if VipManager.GetChargedNum()>=30 and chanel and chanel=="ZZXX" and then
|
||||
if VipManager.GetChargedNum()>=30 and chanel and chanel=="ZZXX" then
|
||||
this.input:SetActive(true)
|
||||
this.noInputTip:SetActive(false)
|
||||
--其他渠道及本地
|
||||
elseif VipManager.GetChargedNum()>=10000 then
|
||||
elseif VipManager.GetChargedNum()>=10 then
|
||||
this.input:SetActive(true)
|
||||
this.noInputTip:SetActive(false)
|
||||
else
|
||||
this.input:SetActive(false)
|
||||
this.noInputTip:SetActive(true)
|
||||
if chanel and chanel=="ZZXX" then
|
||||
this.noInputTip:GetComponent("Text").text = "真实累充30元并通关 可发言"
|
||||
this.noInputTip:GetComponent("Text").text = "真实累充30元可发言"
|
||||
else
|
||||
--this.noInputTip:GetComponent("Text").text = "折扣后实际充值100元可发言"
|
||||
this.noInputTip:GetComponent("Text").text = "真实累充10元可发言"
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue