逍遥 commit
parent
ec0f15f489
commit
ddfca80c45
|
|
@ -126,11 +126,11 @@ RectTransform:
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 2354410091790794285}
|
m_Father: {fileID: 2354410091790794285}
|
||||||
m_RootOrder: 1
|
m_RootOrder: 0
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 0.5}
|
m_AnchorMin: {x: 0, y: 0.5}
|
||||||
m_AnchorMax: {x: 0, y: 0.5}
|
m_AnchorMax: {x: 0, y: 0.5}
|
||||||
m_AnchoredPosition: {x: -0.000027821912, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 0, y: 131.7}
|
m_SizeDelta: {x: 0, y: 131.7}
|
||||||
m_Pivot: {x: 0, y: 0.5}
|
m_Pivot: {x: 0, y: 0.5}
|
||||||
--- !u!222 &6009056775654828864
|
--- !u!222 &6009056775654828864
|
||||||
|
|
@ -154,7 +154,7 @@ MonoBehaviour:
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
m_Padding:
|
m_Padding:
|
||||||
m_Left: 122
|
m_Left: 0
|
||||||
m_Right: 0
|
m_Right: 0
|
||||||
m_Top: 40
|
m_Top: 40
|
||||||
m_Bottom: 0
|
m_Bottom: 0
|
||||||
|
|
@ -211,6 +211,7 @@ RectTransform:
|
||||||
- {fileID: 4107591401879039839}
|
- {fileID: 4107591401879039839}
|
||||||
- {fileID: 2650705437399728588}
|
- {fileID: 2650705437399728588}
|
||||||
- {fileID: 8819556549349584560}
|
- {fileID: 8819556549349584560}
|
||||||
|
- {fileID: 2413547048822279976}
|
||||||
- {fileID: 2354410091790794285}
|
- {fileID: 2354410091790794285}
|
||||||
m_Father: {fileID: 7920936004859207622}
|
m_Father: {fileID: 7920936004859207622}
|
||||||
m_RootOrder: 1
|
m_RootOrder: 1
|
||||||
|
|
@ -1312,15 +1313,14 @@ RectTransform:
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 2413547048822279976}
|
|
||||||
- {fileID: 7657352103914167475}
|
- {fileID: 7657352103914167475}
|
||||||
m_Father: {fileID: 7555683376229264185}
|
m_Father: {fileID: 7555683376229264185}
|
||||||
m_RootOrder: 6
|
m_RootOrder: 7
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: -149.46, y: -539.94995}
|
m_AnchoredPosition: {x: -89.163, y: -539.94995}
|
||||||
m_SizeDelta: {x: 617.09, y: 131.7}
|
m_SizeDelta: {x: 496.5, y: 131.7}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &2289098928544743846
|
--- !u!222 &2289098928544743846
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
|
|
@ -2810,16 +2810,16 @@ RectTransform:
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 9136319240660898480}
|
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_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 2354410091790794285}
|
m_Father: {fileID: 7555683376229264185}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 6
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: -235, y: 0}
|
m_AnchoredPosition: {x: -384.46002, y: -539.94995}
|
||||||
m_SizeDelta: {x: 94.1, y: 131.7}
|
m_SizeDelta: {x: 94.1, y: 131.7}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &8507476027570995583
|
--- !u!222 &8507476027570995583
|
||||||
|
|
|
||||||
|
|
@ -30,8 +30,11 @@ function this:BindEvent()
|
||||||
if BagManager.GetItemCountById(itemId) > 0 then
|
if BagManager.GetItemCountById(itemId) > 0 then
|
||||||
ShopManager.RequestBuyShopItem(7, 10033, count, function()
|
ShopManager.RequestBuyShopItem(7, 10033, count, function()
|
||||||
PopupTipPanel.ShowTip("恢复50点云游值!")
|
PopupTipPanel.ShowTip("恢复50点云游值!")
|
||||||
|
Timer.New(function()
|
||||||
|
LogGreen("BagManager.GetItemCountById(UpViewRechargeType.YunYouVle)--------------:"..BagManager.GetItemCountById(UpViewRechargeType.YunYouVle))
|
||||||
Game.GlobalEvent:DispatchEvent(GameEvent.XiaoYao.RefreshEventShow)
|
Game.GlobalEvent:DispatchEvent(GameEvent.XiaoYao.RefreshEventShow)
|
||||||
parent:ClosePanel()
|
parent:ClosePanel()
|
||||||
|
end,1):Start()
|
||||||
end)
|
end)
|
||||||
else
|
else
|
||||||
PopupTipPanel.ShowTip("云游宝玉不足")
|
PopupTipPanel.ShowTip("云游宝玉不足")
|
||||||
|
|
|
||||||
|
|
@ -494,6 +494,7 @@ end
|
||||||
|
|
||||||
--刷新云游值显示栏信息
|
--刷新云游值显示栏信息
|
||||||
function this.UpdateYunYouVleShow()
|
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))
|
this.costInfo.text=string.format("%d/%d",BagManager.GetItemCountById(UpViewRechargeType.YunYouVle),PrivilegeManager.GetPrivilegeNumber(39))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue