探索优化提交
parent
9a0ec7feee
commit
4b6de5c984
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue