【山河社稷图】入口 + 特权修改

dev_chengFeng
zhangqiang 2021-05-21 15:29:14 +08:00
parent db3b58ea8e
commit 4aaa6b29de
4 changed files with 22196 additions and 22116 deletions

View File

@ -755,9 +755,9 @@ RectTransform:
m_Father: {fileID: 7397389818723011487}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 476.11664, y: -45.05}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 88.1, y: 90.1}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8764021292826640633
@ -2465,7 +2465,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: -72.9, y: 145.9}
m_AnchoredPosition: {x: -1124.6, y: 145.9}
m_SizeDelta: {x: 120, y: 122.53}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4653628614703019783
@ -2578,9 +2578,9 @@ RectTransform:
m_Father: {fileID: 7397389818723011487}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 751.24994, y: -45.05}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 88.1, y: 90.1}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5725273977751880029
@ -3009,7 +3009,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &4730423253430825875
RectTransform:
m_ObjectHideFlags: 0
@ -3364,7 +3364,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &7714428594855175671
RectTransform:
m_ObjectHideFlags: 0
@ -3668,7 +3668,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &6652967392251576276
RectTransform:
m_ObjectHideFlags: 0
@ -3792,7 +3792,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: 2fc66648425db004b8bc96f72e5188be, type: 3}
m_Sprite: {fileID: 21300000, guid: 7cad42694e8f21143b40c52d78256e69, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -3867,7 +3867,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: 2fc66648425db004b8bc96f72e5188be, type: 3}
m_Sprite: {fileID: 21300000, guid: 7cad42694e8f21143b40c52d78256e69, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -3942,7 +3942,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: 2fc66648425db004b8bc96f72e5188be, type: 3}
m_Sprite: {fileID: 21300000, guid: 7cad42694e8f21143b40c52d78256e69, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -4446,9 +4446,9 @@ RectTransform:
m_Father: {fileID: 7397389818723011487}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 200.98332, y: -45.05}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 88.1, y: 90.1}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5108727623760178301

View File

@ -5862,10 +5862,10 @@ RectTransform:
m_Father: {fileID: 2688741801705900761}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 339.52002, y: -25}
m_SizeDelta: {x: 450, y: 50}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1880789683
CanvasRenderer:
@ -6725,8 +6725,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 16, y: 0}
m_SizeDelta: {x: 0, y: 49}
m_AnchoredPosition: {x: 16, y: -0.000015258789}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!114 &2781897261202178156
MonoBehaviour:
@ -13312,10 +13312,10 @@ RectTransform:
m_Father: {fileID: 1140878141797173410}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 13, y: -28.5}
m_SizeDelta: {x: 0, y: 41}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 13, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &5307027406452831801
MonoBehaviour:
@ -44320,10 +44320,10 @@ RectTransform:
m_Father: {fileID: 2688741801705900761}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 339.52002, y: -75}
m_SizeDelta: {x: 450, y: 50}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3240506387495551981
CanvasRenderer:
@ -49644,9 +49644,9 @@ RectTransform:
m_Father: {fileID: 2688828308012583799}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 20.5, y: -20.5}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 41, y: 41}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5457461477382774726
@ -49953,10 +49953,10 @@ RectTransform:
m_Father: {fileID: 2688828308012583799}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 325.515, y: 0}
m_SizeDelta: {x: 569.03, y: 38}
m_SizeDelta: {x: 569.03, y: 0}
m_Pivot: {x: 0.5, y: 1}
--- !u!222 &5454571531986427168
CanvasRenderer:
@ -50306,10 +50306,10 @@ RectTransform:
m_Father: {fileID: 5455457837940663430}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 284.515, y: 0}
m_SizeDelta: {x: 569.03, y: 38}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 569.03, y: 0}
m_Pivot: {x: 0.5, y: 1}
--- !u!222 &5458361211353407146
CanvasRenderer:
@ -52092,10 +52092,10 @@ RectTransform:
m_Father: {fileID: 2688741801705900761}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 819.52, y: -25}
m_SizeDelta: {x: 450, y: 50}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5525565508332388175
CanvasRenderer:
@ -53108,10 +53108,10 @@ RectTransform:
m_Father: {fileID: 2688741801705900761}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 819.52, y: -75}
m_SizeDelta: {x: 450, y: 50}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &596483134041477348
CanvasRenderer:
@ -53848,6 +53848,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 391382487732334168}
- {fileID: 4830856817979110616}
m_Father: {fileID: 2689344221917881399}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -54028,6 +54029,80 @@ MonoBehaviour:
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
--- !u!1 &9176109065870346924
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4830856817979110616}
- component: {fileID: 7726035624840116054}
- component: {fileID: 8841221091699615175}
m_Layer: 5
m_Name: redPoint
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &4830856817979110616
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9176109065870346924}
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: 7180603819662835566}
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: 79.9, y: 13}
m_SizeDelta: {x: 30, y: 30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7726035624840116054
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9176109065870346924}
m_CullTransparentMesh: 0
--- !u!114 &8841221091699615175
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9176109065870346924}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: f9ea4c4aff328ff4abcc21aae0a4fa10, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
--- !u!1 &9200170936858795557
GameObject:
m_ObjectHideFlags: 0

View File

@ -29,6 +29,7 @@ function VipPanelV2:InitComponent()
if not this.playerInfoView then
this.playerInfoView = SubUIManager.Open(SubUIConfig.PlayerInfoView, this.transform)
this.playerInfoView:SetPrivilegeShow(true)
end
-- this.BtView = SubUIManager.Open(SubUIConfig.BtView, self.transform)
this.UpView = SubUIManager.Open(SubUIConfig.UpView, self.transform)
@ -84,6 +85,7 @@ function VipPanelV2:InitComponent()
end
self.allRewardItemParent = Util.GetGameObject(self.transform, "frame/topPart/stateRoot/rewardGird")
self.getReawardBtn = Util.GetGameObject(self.transform, "frame/topPart/stateRoot/getReawardBtn")
self.getReawardBtnRedPoint = Util.GetGameObject(self.transform, "frame/topPart/stateRoot/getReawardBtn/redPoint")
self.getReawardBtnText = Util.GetGameObject(self.transform, "frame/topPart/stateRoot/getReawardBtn/Text"):GetComponent("Text")
end
@ -543,12 +545,14 @@ end
function VipPanelV2:ShowRewardInfo(level)
local state = VipManager.GetLevleRewardDatas(level)--0 未领取 1 已领取
local vipCurLevel = VipManager.GetVipLevel()
self.getReawardBtnRedPoint:SetActive(false)
if state == 0 then
self.getReawardBtnText.text = Language[10018]
Util.SetGray(self.getReawardBtn, true)
elseif state == 1 then
self.getReawardBtnText.text = Language[10018]
Util.SetGray(self.getReawardBtn, false)
self.getReawardBtnRedPoint:SetActive(true)
elseif state == 2 then
self.getReawardBtnText.text = Language[10101]
Util.SetGray(self.getReawardBtn, false)
@ -582,6 +586,7 @@ function VipPanelV2:OnGetReawardBtnClicked(level)
VipManager.SetLevleRewardDatas(level,2)
UIManager.OpenPanel(UIName.RewardItemPopup,msg.drop,1,function()
VipPanelV2:ShowRewardInfo(level)
CheckRedPointStatus(RedPointType.VipPrivilege)
end)
end)
elseif state == 2 then