[灵兽抽卡]灵兽抽卡显示修改

dev_chengFeng
wangzhenxing 2020-11-02 17:19:06 +09:00
parent 25f88a2a98
commit 5eaa5a725d
4 changed files with 35 additions and 33 deletions

View File

@ -34786,10 +34786,10 @@ RectTransform:
m_Father: {fileID: 3569102849833951929}
m_RootOrder: 2
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_SizeDelta: {x: 75, y: 100}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 154.8, y: -120}
m_SizeDelta: {x: 75, y: 75}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1680150351488365573
CanvasRenderer:
@ -34812,7 +34812,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 1}
m_Color: {r: 0.8588236, g: 0.80392164, b: 0.60784316, a: 1}
m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
@ -34820,19 +34820,19 @@ MonoBehaviour:
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData:
m_Font: {fileID: 12800000, guid: 4b73e9e4512d17e4daeea351e090d33c, type: 3}
m_Font: {fileID: 12800000, guid: 6fa15837529b0e640af6620b07d3207d, type: 3}
m_FontSize: 50
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 3
m_MaxSize: 50
m_Alignment: 4
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 1
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 200
m_Text: x100
LanguageIndex: 0
--- !u!1 &1562574766218989162
GameObject:
@ -34867,9 +34867,9 @@ RectTransform:
m_Father: {fileID: 3569102849833951929}
m_RootOrder: 1
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_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 67, y: -123.7}
m_SizeDelta: {x: 75, y: 75}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2369707987322037555
@ -35037,9 +35037,9 @@ RectTransform:
m_Father: {fileID: 3569102849833951929}
m_RootOrder: 0
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_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0.000012398, y: -0.00002034}
m_SizeDelta: {x: 69, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3178489416745694411
@ -35083,7 +35083,7 @@ MonoBehaviour:
m_HorizontalOverflow: 1
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "1\u6B21"
m_Text: "\u518D\u6765\u4E00\u6B21"
LanguageIndex: 0
--- !u!1 &5640363064919714132
GameObject:
@ -35206,7 +35206,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6974725393944192383}
m_Enabled: 1
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: -405508275, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:

View File

@ -134732,10 +134732,10 @@ RectTransform:
m_Father: {fileID: 4985255296929210884}
m_RootOrder: 2
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_SizeDelta: {x: 75, y: 100}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 131.1, y: -120}
m_SizeDelta: {x: 75, y: 72.75}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &651768874262747656
CanvasRenderer:
@ -134758,7 +134758,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 1}
m_Color: {r: 0.8588236, g: 0.80392164, b: 0.60784316, a: 1}
m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
@ -134772,13 +134772,13 @@ MonoBehaviour:
m_BestFit: 0
m_MinSize: 3
m_MaxSize: 50
m_Alignment: 4
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 1
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 2000
m_Text: "\xD7100"
LanguageIndex: 0
--- !u!1 &1149583209502976028
GameObject:
@ -135252,9 +135252,9 @@ RectTransform:
m_Father: {fileID: 4985255296929210884}
m_RootOrder: 0
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_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 3.3, y: -0.15000153}
m_SizeDelta: {x: 69, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1617197464721193097
@ -135421,7 +135421,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8700738430591175735}
m_Enabled: 1
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: -405508275, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
@ -135470,9 +135470,9 @@ RectTransform:
m_Father: {fileID: 4985255296929210884}
m_RootOrder: 1
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_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 58.9, y: -123.41}
m_SizeDelta: {x: 75, y: 75}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3793665745798764377

View File

@ -116,7 +116,7 @@ function PokemonSummonOneResultPanel:OnOpen(...)
else
this.itemNum3.gameObject:SetActive(true)
this.itemIcon3.gameObject:SetActive(true)
this.itemInfo3.text=Language[12418]
this.itemInfo3.text="再来1次"
itemId=0
local d = RecruitManager.GetExpendData(this.recruitType)
itemId = d[1]
@ -134,7 +134,7 @@ function PokemonSummonOneResultPanel:OnOpen(...)
this.tipText.gameObject:SetActive(false)
end
this.itemIcon3.sprite=Util.LoadSprite(artResourcesConfig[ItemConfig[itemId].ResourceID].Name)
this.itemNum3.text= "x"..itemNum
this.itemNum3.text= "×"..itemNum
end
this.itemDataList = {}
this.itemDataList = BagManager.GetTableByBackDropData(this.drop)

View File

@ -35,6 +35,7 @@ function PokemonSummonTenResultPanel:InitComponent()
this.detailImage1=Util.GetGameObject(this.content1,"Tip")
this.detailText1 = Util.GetGameObject(this.detailImage1, "contentDetailText"):GetComponent("Text")
this.content3=Util.GetGameObject(self.gameObject,"bottom/openTenAgainButton/Content3")
this.infoTxt=Util.GetGameObject(this.content3,"info"):GetComponent("Text")
this.itemIcon3=Util.GetGameObject(this.content3, "icon"):GetComponent("Image")
this.itemNum3=Util.GetGameObject(this.content3, "num"):GetComponent("Text")
this.content2=Util.GetGameObject(self.gameObject,"bottom/openTenAgainButton/Content2")
@ -143,7 +144,8 @@ function PokemonSummonTenResultPanel:OnOpen(...)
else
this.tipText.gameObject:SetActive(false)
end
this.itemNum3.text= "x"..itemNum
this.infoTxt.text="再来10次"
this.itemNum3.text= "×"..itemNum
local itemDataList={}
itemDataList=BagManager.GetTableByBackDropData(this.drop)