探索地图报错修改

dev_chengFeng
jiaoyangna 2021-12-31 12:23:46 +08:00
parent 7a9d61e8c9
commit 12049b61f8
1 changed files with 4 additions and 1 deletions

View File

@ -295,7 +295,9 @@ function SingleExplorePlayerView:RefreshPoints()
end
Timer.New(function()
index = (index + 1)%pointnum == 0 and pointnum or (index + 1)%pointnum
if self.exploreList[index] then
self.exploreList[index].gameObject:SetActive(true)
end
end,0.25,2):Start()
end
s()
@ -946,5 +948,6 @@ function SingleExplorePlayerView:OnClose()
--当前触发的事件点
self.eventPointPos = nil
self.state = 0
self.exploreList = {}
end
return SingleExplorePlayerView