多队塔提交

dev_chengFeng
wangzhenxing 2023-03-21 10:11:06 +08:00
parent cea97b3605
commit 6f9af97445
8 changed files with 8000 additions and 7937 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

View File

@ -0,0 +1,110 @@
fileFormatVersion: 2
guid: 1ca183ed4773fb042a13212a3fd9b1d7
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 9
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 2
aniso: -1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: 65
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 1
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: 56
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 1
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: f126e5097ce0881428448fd33d8ca2de
vertices: []
indices:
edges: []
weights: []
spritePackingTag: GodsWayTowerAtlas
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -95,6 +95,18 @@ PrefabInstance:
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 612307184, guid: 807c01db712c1334a813e0e22a3dcbc7, type: 3}
propertyPath: m_AnchoredPosition.y
value: -8.4
objectReference: {fileID: 0}
- target: {fileID: 612307184, guid: 807c01db712c1334a813e0e22a3dcbc7, type: 3}
propertyPath: m_SizeDelta.x
value: 459.7
objectReference: {fileID: 0}
- target: {fileID: 612307184, guid: 807c01db712c1334a813e0e22a3dcbc7, type: 3}
propertyPath: m_SizeDelta.y
value: 114.7
objectReference: {fileID: 0}
- target: {fileID: 95070899, guid: 807c01db712c1334a813e0e22a3dcbc7, type: 3}
propertyPath: m_TargetGraphic
value:
@ -103,15 +115,54 @@ PrefabInstance:
propertyPath: m_TargetGraphic
value:
objectReference: {fileID: 6897800648168237592}
- target: {fileID: 1890653196, guid: 807c01db712c1334a813e0e22a3dcbc7, type: 3}
propertyPath: m_TargetGraphic
value:
objectReference: {fileID: 6897800649098585630}
- target: {fileID: 5003149817262781559, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
propertyPath: m_TargetGraphic
value:
objectReference: {fileID: 4887419972737081993}
- target: {fileID: 4621959944646165924, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1195522480809803017, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
propertyPath: m_FontData.m_FontSize
value: 40
objectReference: {fileID: 0}
- target: {fileID: 1195522480809803017, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
propertyPath: m_FontData.m_MaxSize
value: 45
objectReference: {fileID: 0}
- target: {fileID: 1195522480809803017, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
propertyPath: m_FontData.m_Alignment
value: 3
objectReference: {fileID: 0}
- target: {fileID: 1195522480809803017, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
propertyPath: m_FontData.m_VerticalOverflow
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1195522480809803017, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
propertyPath: m_Text
value: "\u6FC0\u6D3B\u79D8\u5B9D\u53EF\u9886\u53D6\u989D\u5916\u5956\u52B1"
objectReference: {fileID: 0}
- target: {fileID: 1319037, guid: 807c01db712c1334a813e0e22a3dcbc7, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1890653196, guid: 807c01db712c1334a813e0e22a3dcbc7, type: 3}
propertyPath: m_TargetGraphic
value:
objectReference: {fileID: 6897800649098585630}
- target: {fileID: 4860869566930803435, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
propertyPath: m_Text
value: "\u5C42\u6570:"
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 807c01db712c1334a813e0e22a3dcbc7, type: 3}
--- !u!114 &6897800647704402087 stripped

View File

@ -117,7 +117,7 @@ function GodsWayTowerPanel:BindEvent()
UIManager.OpenPanel(UIName.GodsWayMyTeamPanel,curType)
end)
Util.AddClick(this.btnHelpFight, function ()
UIManager.OpenPanel(UIName.GodsWayTreasurePanel)
UIManager.OpenPanel(UIName.GodsWayTreasurePanel,curType)
end)
Util.AddClick(this.moppingUpBtn, function ()
if freeTimes < 1 then

View File

@ -4,8 +4,9 @@ local this = GodsWayTreasurePanel
-- local curScore = 0--当前分数
-- local rewardStateData = {}
local treasureState = nil
local curType=0
local rewardData--后端活动数据
local ConfigData = ConfigManager.GetConfig(ConfigName.WorldBossTreasureConfig)
local ConfigData = ConfigManager.GetConfig(ConfigName.SummonTreasure)
local curId=0
--初始化组件(用于子类重写)
function GodsWayTreasurePanel:InitComponent()
@ -19,6 +20,8 @@ function GodsWayTreasurePanel:InitComponent()
this.time = Util.GetGameObject(this.transform, "bg/topBar/tips/actTime"):GetComponent("Text")
this.quesBtn = Util.GetGameObject(this.transform, "bg/quesBtn")
this.helpPosition=this.quesBtn:GetComponent("RectTransform").localPosition
this.titleImg = Util.GetGameObject(this.transform,"bg/topBar/titleName"):GetComponent("Image")
--Content
this.scoreText = Util.GetGameObject(this.transform, "bg/pageContent/bg/score/number"):GetComponent("Text")
this.treasureList = Util.GetGameObject(this.transform, "bg/pageContent/treasureList")
@ -68,31 +71,44 @@ end
--界面打开时调用(用于子类重写)
function GodsWayTreasurePanel:OnOpen(...)
--初始化数据
local args=...
curType=args
end
local activityType=0
local curFloor=0
local giftId
-- 打开,重新打开时回调
function GodsWayTreasurePanel:OnShow()
this.tips.text = Language[11924]
this.time.text=TimeToDHMS(TreasureOfHeavenManger.resetTime - GetTimeStamp())
curId=ActivityGiftManager.GetActivityIdByType(ActivityTypeDef.TreasureOfHeaven)
this.tips.text = "激活秘宝后可领取额外奖励"
curFloor=GodsWayTowerManager.GetTowerFloorByType(curType)
--this.time.text=TimeToDHMS(TreasureOfHeavenManger.resetTime - GetTimeStamp())
local config=ConfigManager.GetConfigData(ConfigName.DuoDuiTowerConfig,curType)
giftId=config.RechargeCommodity
--local activityType=0
if curType==1 then
this.titleImg.sprite= this.spLoader:LoadSprite("godsWayTower_mb_title1_zh")
activityType=ActivityTypeDef.godsWayTowerTreasure_two
curId=ActivityGiftManager.GetActivityIdByType(ActivityTypeDef.godsWayTowerTreasure_two)
else
this.titleImg.sprite= this.spLoader:LoadSprite("godsWayTower_mb_title2_zh")
activityType=ActivityTypeDef.godsWayTowerTreasure_three
curId=ActivityGiftManager.GetActivityIdByType(ActivityTypeDef.godsWayTowerTreasure_three)
end
LogError("curid==============="..curId)
this.btn_qmfl:SetActive(ActivityGiftManager.GetActivityInfoByType(10502)~=nil and ActivityGiftManager.CheckIsHaveHaveQMFL(ActivityTypeDef.TreasureOfHeaven,curId))
TreasureOfHeavenPanel:ShowTime()
TreasureOfHeavenPanel:refresh()
this.btn_qmfl:SetActive(false)
this:refresh()
end
function GodsWayTreasurePanel:refresh()
treasureState = TreasureOfHeavenManger.TreasrueState
rewardData = TreasureOfHeavenManger.rewardStateData
-- --LogGreen("#rewardData长度"..#rewardData)
if #TreasureOfHeavenManger.rewardStateData <= 0 then
TreasureOfHeavenPanel:topBar()
TreasureOfHeavenPanel:showTaskList()
else
TreasureOfHeavenPanel:topBar()
TreasureOfHeavenPanel:showTaskList()
treasureState = OperatingManager.IsBuyGift(giftId) and 1 or 0
local info=ActivityGiftManager.GetActivityTypeInfo(activityType)
if info.mission then
rewardData = info.mission
end
this:topBar()
this:showTaskList()
end
--topBar按钮状态
@ -104,29 +120,35 @@ function GodsWayTreasurePanel:topBar()
if treasureState == 0 then
Util.AddOnceClick(this.buyBtn,function()
UIManager.OpenPanel(UIName.GeneralPopup,GENERAL_POPUP_TYPE.HeavenUnlockExtraRewardPanel,1)
--UIManager.OpenPanel(UIName.GeneralPopup,GENERAL_POPUP_TYPE.HeavenUnlockExtraRewardPanel,1)
PayManager.Pay(giftId, function()
treasureState=1
this.Text1.gameObject:SetActive(false)
this.Text2.gameObject:SetActive(true)
this:refresh()
end)
end)
end
this.scoreText.text = TreasureOfHeavenManger.curScore
this.scoreText.text = curFloor
end
--任务列表
function GodsWayTreasurePanel:showTaskList()
this.ScrollView:SetData(rewardData,function(index, rewardItem)
TreasureOfHeavenPanel:SingleTask(rewardItem, rewardData[index])
this:SingleTask(rewardItem, rewardData[index])
end)
--定位打开界面时位置
local t = 0
if TreasureOfHeavenManger.TreasrueState == 0 then
if curFloor == 0 then
for i = 1, #rewardData do
if rewardData[i].state == 0 then
t = i
break
end
end
elseif TreasureOfHeavenManger.TreasrueState == 1 then
elseif curFloor == 1 then
for i = 1, #rewardData do
if rewardData[i].state == 1 or rewardData[i].state == 0 then
t = i
@ -152,11 +174,11 @@ function GodsWayTreasurePanel:SingleTask(rewardItem, singleData)
itemsList[rewardItem] ={item1,item3,item4}
end
scoreLevel.text = ConfigData[singleData.id].Integral
itemsList[rewardItem][1]:OnOpen(false, {ConfigData[singleData.id].Reward[1][1], ConfigData[singleData.id].Reward[1][2]}, 0.8, false)
itemsList[rewardItem][2]:OnOpen(false, {ConfigData[singleData.id].TreasureReward[1][1], ConfigData[singleData.id].TreasureReward[1][2]}, 0.8, false)
itemsList[rewardItem][3]:OnOpen(false, {ConfigData[singleData.id].TreasureReward[2][1], ConfigData[singleData.id].TreasureReward[2][2]}, 0.8, false)
scoreLevel.text = ConfigData[singleData.missionId].Count
itemsList[rewardItem][1]:OnOpen(false, {ConfigData[singleData.missionId].Reward[1][1], ConfigData[singleData.missionId].Reward[1][2]}, 0.8, false)
itemsList[rewardItem][2]:OnOpen(false, {ConfigData[singleData.missionId].TreasureReward[1][1], ConfigData[singleData.missionId].TreasureReward[1][2]}, 0.8, false)
-- itemsList[rewardItem][3]:OnOpen(false, {ConfigData[singleData.missionId].TreasureReward[2][1], ConfigData[singleData.missionId].TreasureReward[2][2]}, 0.8, false)
itemsList[rewardItem][3].gameObject:SetActive(false )
--初始化按钮状态
GodsWayTreasurePanel:InitButtonState(rewardItem, singleData)
end
@ -172,7 +194,7 @@ function GodsWayTreasurePanel:InitButtonState(rewardItem, singleData)
--当前任务领取情况
local state = singleData.state
--判断
if TreasureOfHeavenManger.curScore >= ConfigData[singleData.id].Integral then
if curFloor >= ConfigData[singleData.missionId].Count then
if (state == -1) then
btnDeal.gameObject:SetActive(false)
get.gameObject:SetActive(false)
@ -201,11 +223,11 @@ function GodsWayTreasurePanel:InitButtonState(rewardItem, singleData)
end
--添加点击事件
Util.AddOnceClick(btnDeal,function()
TreasureOfHeavenPanel:OnBtnDealClicked(rewardItem,singleData)
this:OnBtnDealClicked(rewardItem,singleData)
end)
--红点状态
redPoint:SetActive(TreasureOfHeavenManger.RedPointState(singleData,treasureState))
--redPoint:SetActive(TreasureOfHeavenManger.RedPointState(singleData,treasureState))
end
@ -219,22 +241,29 @@ function GodsWayTreasurePanel:OnBtnDealClicked(rewardItem,singleData)
local unfinished = Util.GetGameObject(rewardItem, "btnDeal/unfinished")
local finished = Util.GetGameObject(rewardItem, "btnDeal/finished")
if TreasureOfHeavenManger.curScore >= ConfigData[singleData.id].Integral then--分数达到要求
if curFloor >= ConfigData[singleData.missionId].Count then--分数达到要求
if (singleData.state == 0 and treasureState == 0) or--任务未领取+礼包未购买
(singleData.state == 1 and treasureState == 1) or--任务已领取+礼包已购买
(singleData.state == 0 and treasureState == 1)then--任务未领取+礼包已购买
NetManager.GetTreasureOfHeavenRewardRequest(singleData.id,function(msg)
UIManager.OpenPanel(UIName.RewardItemPopup,msg.drop,1)
--需要刷新界面
if treasureState == 0 then--判断是否已经购买了礼包
TreasureOfHeavenManger.SetSingleRewardState(singleData.id,1)
else
TreasureOfHeavenManger.SetSingleRewardState(singleData.id,-1)
end
TreasureOfHeavenPanel:refresh()--刷新界面
end)
-- NetManager.GetTreasureOfHeavenRewardRequest(singleData.id,function(msg)
-- UIManager.OpenPanel(UIName.RewardItemPopup,msg.drop,1)
-- --需要刷新界面
-- if treasureState == 0 then--判断是否已经购买了礼包
-- TreasureOfHeavenManger.SetSingleRewardState(singleData.id,1)
-- else
-- TreasureOfHeavenManger.SetSingleRewardState(singleData.id,-1)
-- end
-- end)
NetManager.GetActivityRewardRequest(singleData.missionId,curId,function(msg)
UIManager.OpenPanel(UIName.RewardItemPopup, msg, 1,function ()
end)
--ActivityGiftManager.SetActivityInfo()
this:refresh()--刷新界面
end)
elseif singleData.state == 1 and treasureState == 0 then----任务已领取+礼包未购买(弹出购买界面)
UIManager.OpenPanel(UIName.GeneralPopup,GENERAL_POPUP_TYPE.HeavenUnlockExtraRewardPanel,1)
-- UIManager.OpenPanel(UIName.GeneralPopup,GENERAL_POPUP_TYPE.HeavenUnlockExtraRewardPanel,1)
end
else--分数未达到要求
PopupTipPanel.ShowTip(Language[11330])

View File

@ -3,6 +3,7 @@ local GodsWayOtherTeamPanel = Inherit(BasePanel)
local XiuXianSkillConfig = ConfigManager.GetConfig(ConfigName.XiuXianSkillConfig)
local endLess=ConfigManager.GetConfig(ConfigName.EndlessHeroProp)
local type=0 --1:挑战 2详情
local floor=0
local itemId, needNum
local haveNum=0
local time=0
@ -16,18 +17,14 @@ function GodsWayOtherTeamPanel:InitComponent()
self.content = Util.GetGameObject(self.gameObject, "Frame/Content")
self.costImg=Util.GetGameObject(self.gameObject, "Frame/Button/Image"):GetComponent("Image")
self.costTxt=Util.GetGameObject(self.gameObject, "Frame/Button/Image/num"):GetComponent("Text")
--玩家信息
self.playerInfo = Util.GetGameObject(self.content, "playerInfo")
self.playerHead = Util.GetGameObject(self.playerInfo, "head")
self.playerName = Util.GetGameObject(self.playerInfo, "name")
self.playerScore = Util.GetGameObject(self.playerInfo, "score"):GetComponent("Text")
self.playerLevelImg = Util.GetGameObject(self.playerInfo, "levelImg"):GetComponent("Image")
--队伍信息
self.teamInfo = Util.GetGameObject(self.content, "teamInfo")
self.teamList = {}
for i = 1, 3 do
self.teamList[i] = {}
self.teamList[i].title = Util.GetGameObject(self.teamInfo, "Team ("..i..")/Title")
self.teamList[i].go = Util.GetGameObject(self.teamInfo, "Team ("..i..")")
self.teamList[i].warPower = Util.GetGameObject(self.teamInfo, "Team ("..i..")/WarPower/Text"):GetComponent("Text")
self.teamList[i].heroList = {}
for j = 1, 6 do
@ -95,14 +92,15 @@ function GodsWayOtherTeamPanel:RemoveListener()
end
--界面打开时调用(用于子类重写)
function GodsWayOtherTeamPanel:OnOpen(_playerId,_type,_msg)
self.playerId = _playerId
function GodsWayOtherTeamPanel:OnOpen(_type,_floor)
type=_type
curMsg=_msg
floor=_floor
end
--界面打开或者重新打开后,界面刷新时调用(用于子类重写)
function GodsWayOtherTeamPanel:OnShow()
local towers=ConfigManager.TryGetAllConfigsDataByDoubleKey(ConfigName.DuoDuiTower,"Type",type,"TowerNumber",floor)
itemId, needNum = WorldArenaManager.GetArenaChallengeCost()
haveNum = BagManager.GetItemCountById(itemId)
--设置挑战按钮显示
@ -113,7 +111,6 @@ function GodsWayOtherTeamPanel:OnShow()
self.costImg.gameObject:SetActive(time<=0)
self.challengeTxt.gameObject:SetActive(time>0)
self.challengeTxt.text="免费挑战"
WorldArenaOtherTeamPanel:Refresh()
end
@ -131,10 +128,10 @@ end
function GodsWayOtherTeamPanel:Refresh()
LogError("self.playerid=="..self.playerId)
--NetManager.GetPlayerCrossYxldOneTeamInfoRequest(self.playerId,0,function(msg)
WorldArenaOtherTeamPanel:SetPlayerInfo(self.playerInfo,curMsg.teamInfo)
--WorldArenaOtherTeamPanel:SetPlayerInfo(self.playerInfo,curMsg.teamInfo)
WorldArenaOtherTeamPanel:SetTeamInfo(self.teamInfo,{curMsg.teamInfo.crossTeam[1],curMsg.teamInfo.crossTeam[2],curMsg.teamInfo.crossTeam[3]})
WorldArenaOtherTeamPanel:SetPokemonInfo(self.pokemonInfo,curMsg.teamInfo.crossTeam[1].PokemonInfos)
WorldArenaOtherTeamPanel:SetImprintInfo(self.imprintInfo,curMsg.teamInfo.crossTeam[1].sealShow)
-- WorldArenaOtherTeamPanel:SetImprintInfo(self.imprintInfo,curMsg.teamInfo.crossTeam[1].sealShow)
if type==1 then
self.btnChallenge:SetActive(true)
else
@ -176,29 +173,6 @@ function GodsWayOtherTeamPanel:SetImgPos(_go,data)
end
local serverName=nil
--玩家信息
function GodsWayOtherTeamPanel:SetPlayerInfo(go,playerData)
local head = Util.GetGameObject(go, "head")
local name = Util.GetGameObject(go, "name"):GetComponent("Text")
local score = Util.GetGameObject(go, "score"):GetComponent("Text")
local levelImg = Util.GetGameObject(go, "levelImg"):GetComponent("Image")
if not self.PlayerHead then
self.PlayerHead = SubUIManager.Open(SubUIConfig.PlayerHeadView, head.transform)
end
self.PlayerHead:Reset()
self.PlayerHead:SetScale(Vector3.one * 0.85)
self.PlayerHead:SetHead(playerData.head)
self.PlayerHead:SetFrame(playerData.headFrame)
self.PlayerHead:SetLevel(playerData.level)
self.PlayerHead:SetLayer(self.sortingOrder)
self.PlayerHead:SetEffectScale(0.9)
serverName=playerData.serverName
name.text = PracticeManager.SetNameColor(playerData.serverName.." "..playerData.name,playerData.practiceLevel)
score.text = string.format( "积分:%s",playerData.crossTeamScore)
local rank=WorldArenaManager.GetRankImgByScore(playerData.crossTeamScore)
levelImg.sprite = self.spLoader:LoadSprite("y_yuxulundao_xiaobiao_0"..rank)
end
--编队信息
function GodsWayOtherTeamPanel:SetTeamInfo(_go,teamData)
@ -221,7 +195,6 @@ function GodsWayOtherTeamPanel:SetTeamInfo(_go,teamData)
if heroTid then
self.teamList[index].heroList[hero.position].hero:SetActive(true)
local star,starType = GetStarOrGodSoulLv(1,hero)
star=endLess[heroTid].Star
local starScale = -15
local starSize = Vector2.New(32,32)
if starType == 3 then
@ -292,38 +265,6 @@ function GodsWayOtherTeamPanel:SetPokemonInfo(go,pokemonData)
end
end
--紫府神印信息
function GodsWayOtherTeamPanel:SetImprintInfo(go,imprintData)
if imprintData and #imprintData > 0 then
self.imprintInfo:SetActive(true)
if not self.imprintItemList then
self.imprintItemList = {}
end
for i = 1, #self.imprintItemList do
self.imprintItemList[i].gameObject:SetActive(false)
end
for i = 1, #imprintData do
local item = self.imprintItemList[i]
local value = imprintData[i]
if not item then
item = newObject(self.imprintPre)
item.name = "imprintPre_"..i
item.transform:SetParent(self.imprintGrid.transform)
item.transform.localScale = Vector3.one
item.transform.localPosition = Vector3.zero
self.imprintItemList[i] = item
end
item.gameObject:SetActive(true)
local icon = Util.GetGameObject(item,"icon"):GetComponent("Image")
icon.sprite = self.spLoader:LoadSprite(GetResourcePath(XiuXianSkillConfig[value.id].Icon))
Util.AddOnceClick(item.gameObject,function ()
UIManager.OpenPanel(UIName.GeneralInfoPopup,GENERALINFO_TYPE.Imprint,value.id,value.heroTId)
end)
end
else
self.imprintInfo:SetActive(false)
end
end
function GodsWayOtherTeamPanel:OnClose()
end

View File

@ -88,7 +88,8 @@ function GodsWaySingleSingleWave:OnOpen()
-- UIManager.OpenPanel(UIName.ExpeditionMonsterInfoPopup,EXPEDITON_POPUP_TYPE.FourElementMonster,self.trailData.fourElementType,self.data.wave)
-- end)
Util.AddOnceClick(self.btn, function()
UIManager.OpenPanel(UIName.ExpeditionMonsterInfoPopup,EXPEDITON_POPUP_TYPE.FourElementMonster,self.trailData.fourElementType,self.data.wave)
--UIManager.OpenPanel(UIName.ExpeditionMonsterInfoPopup,EXPEDITON_POPUP_TYPE.FourElementMonster,self.trailData.fourElementType,self.data.wave)
UIManager.OpenPanel(UIName.GodsWayOtherTeamPanel,curType,curFloor)
end)
Util.AddOnceClick(self.fight, function()
local x = function()