探索优化提交

dev_chengFeng
jiaoyangna 2021-12-30 13:27:57 +08:00
parent 9a0ec7feee
commit 4b6de5c984
2 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,7 @@ function GeneralSizeFitterPopup:InitComponent()
this.contents = Util.GetGameObject(this.gameObject,"Content")
this.backBtn = Util.GetGameObject(this.gameObject,"backBtn")
this.quitBtn = Util.GetGameObject(this.gameObject,"Content/backBtn")
this.title = Util.GetGameObject(this.gameObject,"title"):GetComponent("Text")
this.title = Util.GetGameObject(this.gameObject,"Content/title"):GetComponent("Text")
--子模块脚本初始化
for key, value in pairs(contentScripts) do
value.view:InitComponent(Util.GetGameObject(this.contents, value.panelName))

View File

@ -165,6 +165,7 @@ function this:Refresh(_data,_item)
end
else
_item.exploring.gameObject:SetActive(true)
_item.name.text = string.format("队伍%s,<color=#%s>(正在探索%s</color>",_data.index,"00ff00",ExploreManager.ExploreMapData[_data.mapId].name)
end
Util.AddOnceClick(_item.exploring,function()
NetManager.ExplorerMapRewardRequest(0,_data.formationId,function(drop)