【灵兽系统】bug 修改
parent
afed2cad3b
commit
0f5583e0f9
|
|
@ -103437,7 +103437,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 0.3019608, g: 0.54509807, b: 0.41176474, a: 1}
|
||||
m_Color: {r: 0, g: 1, b: 0.023529412, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
|
|
@ -103457,7 +103457,7 @@ MonoBehaviour:
|
|||
m_HorizontalOverflow: 1
|
||||
m_VerticalOverflow: 1
|
||||
m_LineSpacing: 1.4
|
||||
m_Text: "\u7B49\u7EA7\u4E0A\u9650\u6269\u5C55\u523070\u7EA7"
|
||||
m_Text: "\u5DF2\u63D0\u5347\u81F3\u6700\u9AD8\u661F\u7EA7"
|
||||
LanguageIndex: 11589
|
||||
--- !u!1 &6520529797300406191
|
||||
GameObject:
|
||||
|
|
|
|||
|
|
@ -211,6 +211,7 @@ function this.RefreshShow(_curPokemonData, _pokemonDatas)
|
|||
curPokemonData, pokemonDatas = _curPokemonData, _pokemonDatas
|
||||
this.OnShowData()
|
||||
this.OnShowRedPoint()
|
||||
this.contents[curIndex].view:OnShow(this,curPokemonData)
|
||||
end
|
||||
function PokemonInfoPanel:OnSortingOrderChange()
|
||||
for i = 1, #this.contents do
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ function this.ShowPokemonSkillList()
|
|||
this.skillIcon.sprite = Util.LoadSprite(GetResourcePath(curSkillConFig.Icon))
|
||||
this.skillLv.text = curSkillConFig.Level
|
||||
this.curSkillLv.text = "等级"..curSkillConFig.Level
|
||||
this.curSkillInfo.text = curSkillConFig.Desc
|
||||
this.curSkillInfo.text = ConfigManager.GetConfigData(ConfigName.SpiritAnimal,pokemonSid).SkillDesc
|
||||
|
||||
for i = 1, #pokemonSkillPreList do
|
||||
if pokemonSkillDataList[i] then
|
||||
|
|
|
|||
|
|
@ -87,10 +87,10 @@ function PokemonUpStarSuccessPanel:OnOpen(_curPokemonData)
|
|||
this.heroName.text = curPokeponConfig.Name
|
||||
--如果是最大等级
|
||||
local nextUpStarConfig = ConfigManager.TryGetConfigDataByDoubleKey(ConfigName.SpiritAnimalStar,"Quality", spiritAnimal[curPokemonData.id].Quality, "Star", curPokemonData.star + 1)
|
||||
if nextUpStarConfig then
|
||||
this.starEndText:SetActive(false)
|
||||
else
|
||||
if curPokemonData.star == curPokeponConfig.MaxStar then
|
||||
this.starEndText:SetActive(true)
|
||||
else
|
||||
this.starEndText:SetActive(false)
|
||||
end
|
||||
|
||||
--计算面板属性old
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ function this.SingPokemonDataShow(_go,_itemData)
|
|||
local starSize = Vector2.New(50,50)
|
||||
SetHeroStars(Util.GetGameObject(_go.transform, "star/starGrid"), _itemData.star,1,starSize, -5,Vector2.New(0.5,0.5))
|
||||
Util.AddOnceClick(Util.GetGameObject(_go.transform,"click"), function()
|
||||
UIManager.OpenPanel(UIName.PokemonInfoPanel,_itemData,PokemonManager.GetPokemonUpZhenDatas())
|
||||
UIManager.OpenPanel(UIName.PokemonInfoPanel,_itemData,PokemonManager.GetPokemonDatas())
|
||||
end)
|
||||
end
|
||||
function this.SingPokemonChipDataShow(_go,_itemData)
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ function this.SingleItemDataShow(_go,_itemData)
|
|||
end
|
||||
end)
|
||||
Util.AddOnceClick(Util.GetGameObject(_go.transform,"click"), function()
|
||||
UIManager.OpenPanel(UIName.PokemonInfoPanel,_itemData,PokemonManager.GetPokemonUpZhenDatas())
|
||||
UIManager.OpenPanel(UIName.PokemonInfoPanel,_itemData,PokemonManager.GetPokemonDatas())
|
||||
end)
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -321,8 +321,8 @@ LogError("掉落物品".._itemData.itemType)
|
|||
elseif _itemData.itemType == 6 then
|
||||
self.num:SetActive(false)
|
||||
self.name:GetComponent("Text").text = _itemData.name
|
||||
self.resetLv:GetComponent("Text").text = "+" ..1
|
||||
self.resetLv:SetActive(true)
|
||||
-- self.resetLv:GetComponent("Text").text = "+" ..1
|
||||
self.resetLv:SetActive(false)
|
||||
self.fragmentIcon:SetActive(false)
|
||||
Util.AddOnceClick(self.frameBtn, function()
|
||||
UIManager.OpenPanel(UIName.PokemonGetInfoPopup, true,_itemData.backData)
|
||||
|
|
|
|||
Loading…
Reference in New Issue