选择礼物合成界面修改
parent
33c58e3ab6
commit
a3391b3c30
|
@ -395,6 +395,7 @@ RectTransform:
|
|||
- {fileID: 6370693126056842845}
|
||||
- {fileID: 7888219035260659668}
|
||||
- {fileID: 3519762430283500551}
|
||||
- {fileID: 1313971724762771133}
|
||||
m_Father: {fileID: 6928241519849257569}
|
||||
m_RootOrder: 5
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
|
@ -608,6 +609,41 @@ MonoBehaviour:
|
|||
m_Calls: []
|
||||
m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
|
||||
Culture=neutral, PublicKeyToken=null
|
||||
--- !u!1 &2777195179376293770
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1313971724762771133}
|
||||
m_Layer: 5
|
||||
m_Name: star
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &1313971724762771133
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2777195179376293770}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 6270483855672431056}
|
||||
m_RootOrder: 7
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: -66.50037, y: -49.99994}
|
||||
m_SizeDelta: {x: 128.4, y: 50}
|
||||
m_Pivot: {x: 0, y: 0}
|
||||
--- !u!1 &6296374065806898804
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -1479,7 +1515,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 499.6, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 38}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &6930457928578917211
|
||||
|
|
|
@ -90,8 +90,14 @@ function this.OnShowData()
|
|||
LogError("curSelectId=="..curSelectId.." bagData[i].id=="..bagData[i].id)
|
||||
if curSelectId~=bagData[i].id and this.CheckListHaveNum(curUpList,bagData[i].id)>=bagData[i].num then
|
||||
else
|
||||
if bagData[i].quality == targetSoulPrintSData.Formula[1][1] then
|
||||
table.insert(list,bagData[i])
|
||||
if targetSoulPrintSData.Star>0 then
|
||||
if bagData[i].id == targetSoulPrintSData.Formula[1][1] then
|
||||
table.insert(list,bagData[i])
|
||||
end
|
||||
else
|
||||
if bagData[i].quality == targetSoulPrintSData.Formula[1][1] then
|
||||
table.insert(list,bagData[i])
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
@ -115,6 +121,8 @@ function this.SingleItemDataShow(_go,curBagSoulPrintData)
|
|||
Util.GetGameObject(_go.transform, "Hero"):SetActive(false)
|
||||
local curheroData = {}
|
||||
local choosed =Util.GetGameObject(_go.transform, "choosed")
|
||||
local starPar =Util.GetGameObject(_go.transform, "star")
|
||||
SetHeroStars(this.spLoader,starPar,curequipSign.Star,1,nil,-15)
|
||||
choosed:SetActive(curSelectId == curBagSoulPrintData.id and not isShowGou)
|
||||
--local redPoint = Util.GetGameObject(_go.transform,"redPoint")
|
||||
if curSelectId == curBagSoulPrintData.id and not isShowGou then
|
||||
|
|
|
@ -733,6 +733,7 @@ function this:OnSortingOrderChange()
|
|||
end
|
||||
|
||||
function this:UpdateHeroInfoData()
|
||||
LogError("刷新界面-------------------------------------------------")
|
||||
this:UpdateBtnList()
|
||||
this.GodSoulBtn.gameObject:SetActive(CheckFunctionOpen(FUNCTION_OPEN_TYPE.shenhun) and curHeroData.heroConfig.IsSoulOpen)
|
||||
this.potencyObj:SetActive(CheckFunctionOpen(FUNCTION_OPEN_TYPE.Potency))
|
||||
|
|
Loading…
Reference in New Issue