【限时兑换】修改
parent
1308a7bf69
commit
e15921969a
File diff suppressed because it is too large
Load Diff
|
@ -561,7 +561,7 @@ RectTransform:
|
|||
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: 9.8, y: 170.9}
|
||||
m_AnchoredPosition: {x: 9.8, y: 163.1}
|
||||
m_SizeDelta: {x: 134.96, y: 46.09}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &4689002940137547210
|
||||
|
@ -689,7 +689,7 @@ RectTransform:
|
|||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 8941761319558283001}
|
||||
m_RootOrder: 0
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
|
@ -761,7 +761,7 @@ RectTransform:
|
|||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 8941761319558283001}
|
||||
m_RootOrder: 1
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
|
@ -2921,8 +2921,8 @@ RectTransform:
|
|||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 5808250650198748761}
|
||||
- {fileID: 48599094699552339}
|
||||
- {fileID: 5808250650198748761}
|
||||
- {fileID: 7022385492430396558}
|
||||
- {fileID: 313504663380212267}
|
||||
m_Father: {fileID: 8156779004366035923}
|
||||
|
|
|
@ -28,6 +28,7 @@ function ExChange:InitComponent(gameObject)
|
|||
exChangeInfoGrid[i] = Util.GetGameObject(gameObject, "downbg1/info/infoTextGrid/infoText ("..i..")")
|
||||
end
|
||||
this.exChangeGoBtn = Util.GetGameObject(gameObject, "downbg2/goBtn")
|
||||
this.goBtnRedpot = Util.GetGameObject(gameObject, "downbg2/goBtn/redpot")
|
||||
this.click = Util.GetGameObject(gameObject, "leftUpGO/click")
|
||||
|
||||
this.live2dRoot = Util.GetGameObject(gameObject, "bg/live")
|
||||
|
@ -43,6 +44,8 @@ function ExChange:BindEvent()
|
|||
Util.AddClick(this.click, function()
|
||||
UIManager.OpenPanel(UIName.RoleGetInfoPopup, false, heroConfig.Id, heroConfig.Star)
|
||||
end)
|
||||
-- 前往兑换红点
|
||||
BindRedPointObject(RedPointType.LimitExchange_GoExchange, this.goBtnRedpot)
|
||||
end
|
||||
|
||||
--添加事件监听(用于子类重写)
|
||||
|
@ -159,6 +162,7 @@ end
|
|||
--界面销毁时调用(用于子类重写)
|
||||
function ExChange:OnDestroy()
|
||||
itemList = {}
|
||||
ClearRedPointObject(RedPointType.LimitExchange_GoExchange, this.goBtnRedpot)
|
||||
end
|
||||
|
||||
return ExChange
|
Loading…
Reference in New Issue