【易经宝库】差一个稿子的动效

dev_chengFeng
ZhangBiao 2020-11-06 15:11:19 +08:00
parent b516a8c202
commit b98490f233
6 changed files with 74 additions and 69 deletions

View File

@ -1178,7 +1178,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: 6ecfdaafd9daa6d45af5a14459616de3, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -4655,7 +4655,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: 22e662a0742d9a244a1932259b5c44ff, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -7647,7 +7647,7 @@ RectTransform:
m_Children:
- {fileID: 8042718525273347262}
m_Father: {fileID: 843425204093064455}
m_RootOrder: 1
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
@ -10079,7 +10079,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: 0b6df97e66460d14482a8d991c24b9fc, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -10740,6 +10740,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 5292465587877922598}
- {fileID: 1549156152779870095}
- {fileID: 8830318203344808036}
- {fileID: 4205532357054342281}
- {fileID: 2633949057137031680}
@ -11548,7 +11549,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: 59f86999e84676041983c4f7691a9611, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -12442,7 +12443,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: 41eb9935bfdb4e543ad765eb38b9a993, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -13134,7 +13135,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: aa3c55df66291eb41926a55911485ddc, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -15366,7 +15367,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: 52347e6b77099c34da07adb004a79668, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -21218,7 +21219,7 @@ RectTransform:
- {fileID: 2850888848554902981}
- {fileID: 7942364349858577929}
m_Father: {fileID: 843425204093064455}
m_RootOrder: 4
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
@ -21974,7 +21975,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: 789a998110a09a145b4a044bfc500de0, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -22583,7 +22584,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: 340151eca4bed3c4bb85a946474f3fcd, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -25244,10 +25245,9 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1549156152779870095}
- {fileID: 7786183135343324119}
m_Father: {fileID: 843425204093064455}
m_RootOrder: 2
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@ -26375,7 +26375,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: aaded67b1e33abe409e8a59aa07aab42, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -26912,7 +26912,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: 837ac12308389cc42ba755dffedc8336, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -30695,7 +30695,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: cf01f3fdba185824d9b0b2131e0df457, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -37478,7 +37478,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: a8584303cab88c64396b5ab5919a979c, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -39729,7 +39729,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: 06f23144d7301a349b3840f0d7a52c41, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -42362,7 +42362,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: 4b2246ab67ef472438630f3d6e0fc144, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -42704,7 +42704,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: ac03ecf445f56d84aa31bded60310098, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -46284,7 +46284,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: f080b0ccf36814a4d809d86782d190b7, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -48391,7 +48391,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 4205532357054342281}
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}
@ -48749,7 +48749,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: 309cb32cd57640047baeb0c4c4e5438f, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -49329,7 +49329,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: 87e62501f1c9cee42a6b751be0c4859d, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -50888,16 +50888,16 @@ RectTransform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7708451436796165535}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
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: 4205532357054342281}
m_RootOrder: 0
m_Father: {fileID: 843425204093064455}
m_RootOrder: 1
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: -20, y: 100}
m_AnchoredPosition: {x: 446.7, y: 835.1}
m_SizeDelta: {x: 68, y: 68}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &652931445609824331
@ -55217,7 +55217,7 @@ RectTransform:
m_Children:
- {fileID: 4970170356064048574}
m_Father: {fileID: 843425204093064455}
m_RootOrder: 3
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
@ -55290,7 +55290,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: eebf9222b4473934ebef618769ba810c, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -55885,7 +55885,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: c71efc784da3a0f4a8ef9cafccbd7d77, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -57177,7 +57177,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: 0f4e1bd115ad4f84186529b02a0b4922, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -57754,7 +57754,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: 0559fa52d68feba43b94f691ed9f0fe8, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -59418,7 +59418,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: e9519d822971b35499de46d0e83f25ac, type: 3}
m_Sprite: {fileID: 21300000, guid: 4ff700fd1b9db7140ab12b19452ff68f, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1

View File

@ -51,38 +51,42 @@ local tabs = {
default = "r_guanka_sheji_anniu_02", lock = "r_guanka_sheji_anniu_02", select = "r_guanka_sheji_anniu_01",
rpType = RedPointType.Celebration,panelType = PanelType.Celebration,ActType = ActivityTypeDef.Celebration
},
[12] = { --限时召唤
[12] = { --易经宝库
default = "y_yijingbaoku_anniu_01", lock = "y_yijingbaoku_anniu_01", select = "y_yijingbaoku_anniu",
rpType = RedPointType.YiJingBaoKu,panelType = PanelType.YiJingBaoKu,ActType = ActivityTypeDef.YiJingBaoKu
},
[13] = { --限时召唤
default = "x_xianshizaohuan_02", lock = "x_xianshizaohuan_02", select = "x_xianshizaohuan_01",
rpType = RedPointType.TimeLimited,panelType = PanelType.TimelimitCall,ActType = ActivityTypeDef.FindFairy
},
[13] = { --乾坤宝盒
[14] = { --乾坤宝盒
default = "q_qiankun_baoheanniu_02", lock = "q_qiankun_baoheanniu_02", select = "q_qiankun_baoheanniu_01",
rpType = RedPointType.QianKunBox,panelType = PanelType.QianKunBox,ActType = ActivityTypeDef.QianKunBox
},
[14] = { --珍奇礼包
[15] = { --神医天降
default = "q_qiankun_baoheanniu_02", lock = "q_qiankun_baoheanniu_02", select = "q_qiankun_baoheanniu_01",
rpType = RedPointType.QianKunBox,panelType = PanelType.QianKunBox,ActType = ActivityTypeDef.QianKunBox
},
[16] = { --珍奇礼包
default = "z_zhenqibaoge_anniu_02", lock = "z_zhenqibaoge_anniu_02", select = "z_zhenqibaoge_anniu_01",
rpType = "",panelType = PanelType.Main,ActType = ActivityTypeDef.DynamicAct_Treasure
},
[15] = { --累计充值 一天一刷
[17] = { --累计充值 一天一刷
default = "r_huodong_leijichengzhianniu_01", lock = "r_huodong_leijichengzhianniu_01", select = "r_huodong_leijichengzhianniu",
rpType = RedPointType.DynamicActRecharge,panelType = PanelType.Main,ActType = ActivityTypeDef.AccumulativeRechargeExper
},
[16] = { --累计充值 一周一刷
[18] = { --累计充值 一周一刷
default = "r_huodong_leijichengzhianniu_01", lock = "r_huodong_leijichengzhianniu_01", select = "r_huodong_leijichengzhianniu",
rpType = RedPointType.DynamicActRecharge,panelType = PanelType.Main,ActType = ActivityTypeDef.DynamicAct_recharge
},
[17] = { --限时商市
[19] = { --限时商市
default = "x_xianshishangshi_anniu_02", lock = "x_xianshishangshi_anniu_02", select = "x_xianshishangshi_anniu_01",
rpType = "",panelType = PanelType.Main,ActType = ActivityTypeDef.DynamicAct_TimeLimitShop
},
[18] = { --限时兑换
[20] = { --限时兑换
default = "r_xianshiduihuan_anniu_01", lock = "r_xianshiduihuan_anniu_01", select = "r_xianshiduihuan_anniu",
rpType = "",panelType = PanelType.Main,ActType = ActivityTypeDef.LimitExchange
},
[19] = { --易经宝库
default = "y_yijingbaoku_anniu_01", lock = "y_yijingbaoku_anniu_01", select = "y_yijingbaoku_anniu",
rpType = RedPointType.YiJingBaoKu,panelType = PanelType.YiJingBaoKu,ActType = ActivityTypeDef.YiJingBaoKu
},
}
local _PageInfo = {--后期可以做成tableInserticon名字都去读表
[1] = 1,
@ -96,14 +100,15 @@ local _PageInfo = {--后期可以做成tableInserticon名字都去读表
[9] = 1,
[10] = 1,
[11] = 2,
[12] = 3,
[13] = 4,
[14] = 5,
[15] = 6,
[16] = 6,
[17] = 7,
[18] = 8,
[19] = 9,
[12] = 9,--易经宝库
[13] = 3,
[14] = 4,
[15] = 4,--神衣天降
[16] = 5,
[17] = 6,
[18] = 6,
[19] = 7,
[20] = 8,
}
local TimeLimitedCall = require("Modules/DynamicActivity/TimeLimitedCall")

View File

@ -29,7 +29,7 @@ function YiJingBaoKu:InitComponent(gameObject)
--leftUp
this.leftTime = Util.GetGameObject(gameObject, "leftUp/time"):GetComponent("Text")
--rightUp
this.helpBtn = Util.GetGameObject(gameObject, "rightUp/helpBtn")
this.helpBtn = Util.GetGameObject(gameObject, "helpBtn")
this.helpPosition=this.helpBtn:GetComponent("RectTransform").localPosition
this.rewardPre = Util.GetGameObject(gameObject, "rightUp/rewardPre")
--mid
@ -46,6 +46,7 @@ function YiJingBaoKu:BindEvent()
UIManager.OpenPanel(UIName.GeneralBigPopup,GENERAL_POPUP_TYPE.YiJingBaoKu,ActData,function()
YiJingBaoKu:SetFinalReward()
YiJingBaoKu:FrontToBack()
this.refrashBtn:SetActive(ActData.selectId ~= 0)
end)
end)
@ -98,14 +99,14 @@ function YiJingBaoKu:Refresh()
if ActData.selectId == 0 then--如果没有选择了最终奖励
YiJingBaoKu:ResetCardToFront()--把卡片全部翻到正面
YiJingBaoKu:InitSetAllCard()--显示所有奖励
this.tip.text = "选择本层珍秘宝"
this.tip.text = "选择本层珍稀有秘宝"
else--选择了最终奖励
YiJingBaoKu:ResetCardToBack()--把卡片全部翻到背面
YiJingBaoKu:SetFinalReward()--设置最终奖励
YiJingBaoKu:SetCardData()--把抽取过的卡翻过来
this.tip.text = "本层珍秘宝"
this.tip.text = "本层珍秘宝"
end
-- YiJingBaoKu:TimeCountDown()--时间
YiJingBaoKu:TimeCountDown()--时间
YiJingBaoKu:AddBackToFrontClick()--增加背面的带点击事件
trigger = true
this.refrashBtn:SetActive(ActData.selectId ~= 0)
@ -127,7 +128,7 @@ function YiJingBaoKu:SetCardData()
itemViewList[i].transform.localPosition = Vector2.New(-73.5,78.5)
cFront:GetComponent("RectTransform").rotation = Quaternion.Euler(Vector3.New(0, 0, 0))
cBack:GetComponent("RectTransform").rotation = Quaternion.Euler(Vector3.New(0, 90, 0))
itemViewList[i].gameObject:SetActive(true)
end
end
end
@ -178,7 +179,7 @@ function YiJingBaoKu:AddBackToFrontClick()
trigger = true
if drop.itemlist[1].itemId == BlessingConfig[ActData.selectId].Reward[1] then
finalReward.gameObject:SetActive(false)
_itemsList[18].gameObject:SetActive(false)
itemViewList[18].gameObject:SetActive(false)
YiJingBaoKu:Refresh()
end
end)
@ -195,7 +196,7 @@ function YiJingBaoKu:SetSingleCardData(index,item,reward)
end
itemViewList[index]:OnOpen(false, reward, 1.1, false, false, false, sortingOrder)
itemViewList[index].transform.localPosition = Vector2.New(-73.5,78.5)
_itemsList[index].gameObject:SetActive(true)
itemViewList[index].gameObject:SetActive(true)
end
--所有奖励翻面

View File

@ -124,7 +124,6 @@ function this:SetSingleData(index,item,data)
end
if ActData.curLevel >= data.FloorLimit then
num.gameObject:SetActive(true)
limit1.gameObject:SetActive(false)
limit2.gameObject:SetActive(false)
select:SetActive(true)
num.text = ActData.allData[index].progress.."/"..data.InitializeNum

View File

@ -53,19 +53,18 @@ function this:OnShow(_parent,...)
ActData = _args[1]
func = _args[2]
this.titleText.text = "奖励预览"
this.tip.text = "秘宝"
this.tip.text = "秘宝"
--设置最终奖励
if not finalReward then
finalReward = SubUIManager.Open(SubUIConfig.ItemView,this.bigIcon.transform)
end
finalReward:OnOpen(false, BlessingConfig[ActData.selectId].Reward, 1.1, false, false, false, sortingOrder)
-- finalReward.transform.localPosition = Vector2.New(-73.5,78.5)
-- finalReward.gameObject:SetActive(true)
for i = 1, #ActData.allData do
if ActData.selectId == ActData.allData[i].configId then
this.bigNum.text = ActData.allData[i].progress.."/"..BlessingConfig[ActData.selectId].InitializeNum
end
end
this.bigNum.text = "1/1"
-- for i = 1, #ActData.allData do
-- if ActData.selectId == ActData.allData[i].configId then
-- this.bigNum.text = ActData.allData[i].progress.."/"..BlessingConfig[ActData.selectId].InitializeNum
-- end
-- end
local leftRewardData = DynamicActivityManager.GetLeftRewardData()
local tempData={}

View File

@ -21,6 +21,7 @@ local purChaseTypeIdDef = {
[UpViewRechargeType.ChangeNameCard] = 10018,
[UpViewRechargeType.HourGlass] = 10008,
[UpViewRechargeType.XingYao] = 10029,
[UpViewRechargeType.DingKunShenChu] = 10034,
}
function QuickCommonPurchasePart:ctor(mainPanel, transform)