【主城】竖条改为初始打开
parent
577752e71d
commit
89f8af19c4
|
@ -217,7 +217,7 @@ end
|
||||||
|
|
||||||
-- 检测功能引导
|
-- 检测功能引导
|
||||||
function GuideManager.CheckFuncGuide()
|
function GuideManager.CheckFuncGuide()
|
||||||
PlayerPrefs.SetInt(PlayerManager.uid.."MainRightBarSetting",0)--引导开始关闭右侧伸缩条
|
PlayerPrefs.SetInt(PlayerManager.uid.."MainRightBarSetting",1)--引导开始关闭右侧伸缩条
|
||||||
if not GuideManager.IsInMainGuide() and not _IsFuncGuild and #_FuncGuideList > 0 then
|
if not GuideManager.IsInMainGuide() and not _IsFuncGuild and #_FuncGuideList > 0 then
|
||||||
local guideId = _FuncGuideList[1]
|
local guideId = _FuncGuideList[1]
|
||||||
if not funcDic[guideId] then
|
if not funcDic[guideId] then
|
||||||
|
|
|
@ -1302,7 +1302,6 @@ end
|
||||||
-- 时间格式化
|
-- 时间格式化
|
||||||
function this.TimeFormat()
|
function this.TimeFormat()
|
||||||
-- 如果逮到一个云游商人
|
-- 如果逮到一个云游商人
|
||||||
this.SetRightBarSize()
|
|
||||||
local isRoamActive = ShopManager.IsActive(SHOP_TYPE.ROAM_SHOP)
|
local isRoamActive = ShopManager.IsActive(SHOP_TYPE.ROAM_SHOP)
|
||||||
this.yunyou:SetActive(isRoamActive)
|
this.yunyou:SetActive(isRoamActive)
|
||||||
if isRoamActive then
|
if isRoamActive then
|
||||||
|
@ -1482,6 +1481,9 @@ function this.TimeFormat()
|
||||||
end
|
end
|
||||||
this.RefreshLayer(showTab,k,v)
|
this.RefreshLayer(showTab,k,v)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- 竖条显示放在按钮显示之后
|
||||||
|
this.SetRightBarSize()
|
||||||
end
|
end
|
||||||
|
|
||||||
--界面关闭时调用(用于子类重写)
|
--界面关闭时调用(用于子类重写)
|
||||||
|
@ -1491,7 +1493,7 @@ function this:OnClose()
|
||||||
PatFaceManager.isLogin = false
|
PatFaceManager.isLogin = false
|
||||||
FixedUpdateBeat:Remove(this.OnUpdate, self)
|
FixedUpdateBeat:Remove(this.OnUpdate, self)
|
||||||
addUpDateNum = addUpDateNum - 1
|
addUpDateNum = addUpDateNum - 1
|
||||||
PlayerPrefs.SetInt(PlayerManager.uid.."MainRightBarSetting",0)
|
PlayerPrefs.SetInt(PlayerManager.uid.."MainRightBarSetting",1)
|
||||||
|
|
||||||
for k,v in ipairs(activitys) do
|
for k,v in ipairs(activitys) do
|
||||||
if v.RpType > 0 then
|
if v.RpType > 0 then
|
||||||
|
|
|
@ -95,7 +95,7 @@ function this.SettDailyRedPackageTime(time)
|
||||||
end
|
end
|
||||||
|
|
||||||
function this.ResetLocalData(var)--初始化所有本地的每日一刷--1是五点推送、2是登陆检测
|
function this.ResetLocalData(var)--初始化所有本地的每日一刷--1是五点推送、2是登陆检测
|
||||||
PlayerPrefs.SetInt(PlayerManager.uid.."MainRightBarSetting",0)
|
PlayerPrefs.SetInt(PlayerManager.uid.."MainRightBarSetting",1)
|
||||||
local func1 = function ()
|
local func1 = function ()
|
||||||
PlayerPrefs.SetInt(PlayerManager.uid.."GeneralPopup_RecruitConfirm"..RecruitType.Ten,0)
|
PlayerPrefs.SetInt(PlayerManager.uid.."GeneralPopup_RecruitConfirm"..RecruitType.Ten,0)
|
||||||
PlayerPrefs.SetInt(PlayerManager.uid.."GeneralPopup_RecruitConfirm"..RecruitType.TimeLimitTen,0)
|
PlayerPrefs.SetInt(PlayerManager.uid.."GeneralPopup_RecruitConfirm"..RecruitType.TimeLimitTen,0)
|
||||||
|
|
Loading…
Reference in New Issue