逍遥commit

dev_chengFeng
ZhangBiao 2020-10-19 21:59:48 +08:00 committed by jiaoyangna
parent 6f0294902f
commit 021692dc42
4 changed files with 39 additions and 20 deletions

View File

@ -106,6 +106,7 @@ GameObject:
- component: {fileID: 7657352103914167475}
- component: {fileID: 6009056775654828864}
- component: {fileID: 4799604205400733920}
- component: {fileID: 542709170962898976}
m_Layer: 0
m_Name: rewardList
m_TagString: Untagged
@ -125,13 +126,13 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 2354410091790794285}
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}
m_AnchoredPosition: {x: 63.57501, y: 0.0000061989}
m_SizeDelta: {x: 792.85, y: 131.7}
m_Pivot: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 131.7}
m_Pivot: {x: 0, y: 0.5}
--- !u!222 &6009056775654828864
CanvasRenderer:
m_ObjectHideFlags: 0
@ -163,6 +164,20 @@ MonoBehaviour:
m_ChildForceExpandHeight: 0
m_ChildControlWidth: 0
m_ChildControlHeight: 0
--- !u!114 &542709170962898976
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 111316968386865160}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1741964061, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_HorizontalFit: 2
m_VerticalFit: 0
--- !u!1 &211364198157320367
GameObject:
m_ObjectHideFlags: 0
@ -196,6 +211,7 @@ RectTransform:
- {fileID: 4107591401879039839}
- {fileID: 2650705437399728588}
- {fileID: 8819556549349584560}
- {fileID: 2413547048822279976}
- {fileID: 2354410091790794285}
m_Father: {fileID: 7920936004859207622}
m_RootOrder: 1
@ -675,7 +691,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
m_AnchoredPosition: {x: 0.00003049465, y: 0.000030517578}
m_AnchoredPosition: {x: 0.000030517578, y: 0.000030517578}
m_SizeDelta: {x: 0, y: 188}
m_Pivot: {x: 0, y: 0.5}
--- !u!222 &3071489648356579259
@ -1297,15 +1313,14 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 2413547048822279976}
- {fileID: 7657352103914167475}
m_Father: {fileID: 7555683376229264185}
m_RootOrder: 6
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: 1.61, y: -539.94995}
m_SizeDelta: {x: 919.2, y: 131.7}
m_AnchoredPosition: {x: -89.163, y: -539.94995}
m_SizeDelta: {x: 496.5, y: 131.7}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2289098928544743846
CanvasRenderer:
@ -1327,9 +1342,9 @@ MonoBehaviour:
m_Script: {fileID: 1367256648, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Content: {fileID: 0}
m_Content: {fileID: 7657352103914167475}
m_Horizontal: 1
m_Vertical: 1
m_Vertical: 0
m_MovementType: 1
m_Elasticity: 0.1
m_Inertia: 1
@ -2795,16 +2810,16 @@ RectTransform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9136319240660898480}
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: 2354410091790794285}
m_RootOrder: 0
m_Father: {fileID: 7555683376229264185}
m_RootOrder: 6
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: -379.9, y: 0}
m_AnchoredPosition: {x: -384.46002, y: -539.94995}
m_SizeDelta: {x: 94.1, y: 131.7}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8507476027570995583

View File

@ -30,8 +30,11 @@ function this:BindEvent()
if BagManager.GetItemCountById(itemId) > 0 then
ShopManager.RequestBuyShopItem(7, 10033, count, function()
PopupTipPanel.ShowTip("恢复50点云游值")
Game.GlobalEvent:DispatchEvent(GameEvent.XiaoYao.RefreshEventShow)
parent:ClosePanel()
Timer.New(function()
LogGreen("BagManager.GetItemCountById(UpViewRechargeType.YunYouVle)--------------:"..BagManager.GetItemCountById(UpViewRechargeType.YunYouVle))
Game.GlobalEvent:DispatchEvent(GameEvent.XiaoYao.RefreshEventShow)
parent:ClosePanel()
end,1):Start()
end)
else
PopupTipPanel.ShowTip("云游宝玉不足")

View File

@ -62,7 +62,7 @@ end
function XiaoYaoLuckyBossPopup:OnOpen()
this.title.text = "入侵"
this.title.text = "入侵"
local config = ConfigManager.GetConfigDataByKey(ConfigName.FreeTravel,"MapID",XiaoYaoManager.curMapId)
cost = config.BossConsume
end

View File

@ -494,6 +494,7 @@ end
--刷新云游值显示栏信息
function this.UpdateYunYouVleShow()
LogGreen("BagManager.GetItemCountById(UpViewRechargeType.YunYouVle):"..BagManager.GetItemCountById(UpViewRechargeType.YunYouVle))
this.costInfo.text=string.format("%d/%d",BagManager.GetItemCountById(UpViewRechargeType.YunYouVle),PrivilegeManager.GetPrivilegeNumber(39))
end