【主城】主城小人层级错误
parent
0ab8247704
commit
3c899d20d5
|
@ -754,7 +754,6 @@ end
|
||||||
function this:OnOpen()
|
function this:OnOpen()
|
||||||
activitys = DynamicActivityManager.GetActivityTableDataByPageInde(0)
|
activitys = DynamicActivityManager.GetActivityTableDataByPageInde(0)
|
||||||
this.CreatActivity()
|
this.CreatActivity()
|
||||||
FixedUpdateBeat:Add(this.OnUpdate, self)--长按方法注册
|
|
||||||
end
|
end
|
||||||
|
|
||||||
--检测六星前往活动是否显示
|
--检测六星前往活动是否显示
|
||||||
|
@ -1096,6 +1095,8 @@ function this:OnShow()
|
||||||
HarmonyManager.CheckRedPoinStatusUpTowerMainCityRed()
|
HarmonyManager.CheckRedPoinStatusUpTowerMainCityRed()
|
||||||
--山河试炼红点
|
--山河试炼红点
|
||||||
CheckRedPointStatus(RedPointType.FightLevelTrial)
|
CheckRedPointStatus(RedPointType.FightLevelTrial)
|
||||||
|
|
||||||
|
FixedUpdateBeat:Add(this.OnUpdate, self)--长按方法注册
|
||||||
end
|
end
|
||||||
|
|
||||||
--
|
--
|
||||||
|
@ -1684,13 +1685,10 @@ function this.RefreshBattleUpLvTip()
|
||||||
end
|
end
|
||||||
local roleRefreshNum = 0
|
local roleRefreshNum = 0
|
||||||
function this.OnMainPlayerNPCRefresh()
|
function this.OnMainPlayerNPCRefresh()
|
||||||
-- Log("roleRefreshNum asd ")
|
|
||||||
if roleRefreshNum < 20 then
|
if roleRefreshNum < 20 then
|
||||||
roleRefreshNum = roleRefreshNum + 1
|
roleRefreshNum = roleRefreshNum + 1
|
||||||
-- LogRed("roleRefreshNum "..roleRefreshNum)
|
|
||||||
elseif roleRefreshNum >= 20 and PlayerManager.MainPanelRoleMonveState then
|
elseif roleRefreshNum >= 20 and PlayerManager.MainPanelRoleMonveState then
|
||||||
roleRefreshNum = 0
|
roleRefreshNum = 0
|
||||||
-- LogRed("PlayerManager.MainPanelRoleMonveState "..tostring(PlayerManager.MainPanelRoleMonveState))
|
|
||||||
if curNPCList and #curNPCList > 0 then
|
if curNPCList and #curNPCList > 0 then
|
||||||
table.sort(curNPCList,function(a,b)
|
table.sort(curNPCList,function(a,b)
|
||||||
return a.leader.transform.localPosition.y > b.leader.transform.localPosition.y
|
return a.leader.transform.localPosition.y > b.leader.transform.localPosition.y
|
||||||
|
|
Loading…
Reference in New Issue