【鸿蒙阵缺陷修改】
parent
5a11596515
commit
d85cb48f6d
|
@ -2416,7 +2416,7 @@ GameObject:
|
||||||
- component: {fileID: 7249682901487871244}
|
- component: {fileID: 7249682901487871244}
|
||||||
- component: {fileID: 4978024521283929858}
|
- component: {fileID: 4978024521283929858}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: HongMengEnvoyUnloadPanel 1
|
m_Name: HongMengEnvoyUnloadPanel
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
|
@ -2645,7 +2645,7 @@ MonoBehaviour:
|
||||||
m_HorizontalOverflow: 1
|
m_HorizontalOverflow: 1
|
||||||
m_VerticalOverflow: 1
|
m_VerticalOverflow: 1
|
||||||
m_LineSpacing: 1
|
m_LineSpacing: 1
|
||||||
m_Text: "24\u5C0F\u65F6\u540E\u53EF\u91CD\u65B0\u9009\u62E9\u5171\u9E23\u8BC6\u4F7F\u8005"
|
m_Text: "24\u5C0F\u65F6\u540E\u53EF\u91CD\u65B0\u9009\u62E9\u9E3F\u8499\u4F7F\u8005"
|
||||||
LanguageIndex: 11524
|
LanguageIndex: 11524
|
||||||
--- !u!1 &7161863885758236502
|
--- !u!1 &7161863885758236502
|
||||||
GameObject:
|
GameObject:
|
||||||
|
|
|
@ -52,7 +52,7 @@ function RoleChooseListPanel:BindEvent()
|
||||||
Util.AddClick(this.btnYes, function()
|
Util.AddClick(this.btnYes, function()
|
||||||
if TempData ==nil then
|
if TempData ==nil then
|
||||||
-- body
|
-- body
|
||||||
PopupTipPanel.ShowTip("请先选择一个英雄" )
|
PopupTipPanel.ShowTip("请先选择一个神将")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -121,10 +121,10 @@ function RoleChooseListPanel:OnOpen(flag)
|
||||||
TempData = nil
|
TempData = nil
|
||||||
--SelectHero = nil
|
--SelectHero = nil
|
||||||
local list = HarmonyManager.ChooseDataList
|
local list = HarmonyManager.ChooseDataList
|
||||||
print("list "..#list,TempData,SelectHero)
|
|
||||||
if #list > 0 then
|
if #list > 0 then
|
||||||
-- body
|
-- body
|
||||||
print("@@@@@@@@"..#list)
|
|
||||||
this.Empty:SetActive(false)
|
this.Empty:SetActive(false)
|
||||||
table.sort(list, function(a, b)
|
table.sort(list, function(a, b)
|
||||||
if a.star == b.star then
|
if a.star == b.star then
|
||||||
|
@ -188,13 +188,7 @@ function this.OnShowSingleCardData(go,heroData,index)--isSelect 1选择 2 没
|
||||||
local GongMingMask = Util.GetGameObject(go.transform, "GongMingMask")
|
local GongMingMask = Util.GetGameObject(go.transform, "GongMingMask")
|
||||||
GongMingMask:SetActive(false)--最后检测是否共鸣
|
GongMingMask:SetActive(false)--最后检测是否共鸣
|
||||||
Util.AddOnceClick(cardBtn, function()
|
Util.AddOnceClick(cardBtn, function()
|
||||||
if choosed then
|
|
||||||
-- body
|
|
||||||
if choosed.activeSelf then
|
|
||||||
PopupTipPanel.ShowTip("已成为鸿蒙守卫 不可选")
|
|
||||||
return
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
if SelectHero then
|
if SelectHero then
|
||||||
--if SelectHero.activeSelf then
|
--if SelectHero.activeSelf then
|
||||||
|
|
|
@ -177,7 +177,7 @@ function this:UpdateHeroInfoData()
|
||||||
if HarmonyManager.IsChangeColor(curHeroData.dynamicId) then
|
if HarmonyManager.IsChangeColor(curHeroData.dynamicId) then
|
||||||
-- body#FFCC00
|
-- body#FFCC00
|
||||||
this.lv.text= "<color=green>"..curHeroData.lv.."</color>"
|
this.lv.text= "<color=green>"..curHeroData.lv.."</color>"
|
||||||
elseif HarmonyManager:IsEnvoy(curHeroData.dynamicId) then
|
elseif HarmonyManager:IsEnvoy(curHeroData.dynamicId) and HarmonyManager:HongMengTowerUpLimit() >= HarmonyManager.TowerStartLimit then
|
||||||
this.lv.text= "<color=#FFCC00>"..curHeroData.lv.."</color>"
|
this.lv.text= "<color=#FFCC00>"..curHeroData.lv.."</color>"
|
||||||
else
|
else
|
||||||
-- body
|
-- body
|
||||||
|
|
Loading…
Reference in New Issue