钻石商店

main
Luofang 2024-01-24 13:29:46 +08:00
parent 4739cd0eea
commit f6bbf34963
4 changed files with 149 additions and 6 deletions

View File

@ -152,7 +152,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -0.0008764348, y: 0.0039166873}
m_AnchoredPosition: {x: 0.0010699809, y: 0.0035790878}
m_SizeDelta: {x: 0, y: 573.6}
m_Pivot: {x: 0, y: 1}
--- !u!1 &512385816492184049
@ -1291,7 +1291,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &3932024587973236714
RectTransform:
m_ObjectHideFlags: 0
@ -2907,7 +2907,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &106792987980640216
RectTransform:
m_ObjectHideFlags: 0
@ -5435,7 +5435,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &6443624972808860968
RectTransform:
m_ObjectHideFlags: 0
@ -5770,7 +5770,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &3992273440802056919
RectTransform:
m_ObjectHideFlags: 0

View File

@ -164,6 +164,7 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1123669012685290866}
- {fileID: 1365081042774311176}
- {fileID: 6492742894377064922}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -4548,6 +4549,145 @@ RectTransform:
type: 3}
m_PrefabInstance: {fileID: 878849990271116984}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &1062546305779424418
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 7346029332068500967}
m_Modifications:
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_AnchorMax.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_SizeDelta.x
value: 1822.72
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_SizeDelta.y
value: 977.1953
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_LocalScale.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_LocalScale.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_LocalScale.z
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_AnchoredPosition.x
value: -0.17999268
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 2.6399994
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7476995447831014915, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
propertyPath: m_Name
value: emptyForAllCloseBtn
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 9a8f998d5c0044a4c8f771875f8e76f1, type: 3}
--- !u!224 &1365081042774311176 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 2039939065411542442, guid: 9a8f998d5c0044a4c8f771875f8e76f1,
type: 3}
m_PrefabInstance: {fileID: 1062546305779424418}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &4954678955389817391
PrefabInstance:
m_ObjectHideFlags: 0

View File

@ -72,6 +72,7 @@ public partial class UIManager
_WindowMeta(UINameConst.UI_Camp,UIWindowLayer.Normal);
_WindowMeta(UINameConst.UI_GetItemSettle,UIWindowLayer.Normal);
_WindowMeta(UINameConst.UI_Patio, UIWindowLayer.Normal);
_WindowMeta(UINameConst.UI_BuyDiamond, UIWindowLayer.Normal);
}
@ -162,5 +163,6 @@ public static class UINameConst
public static readonly string UI_PVPMain = "PVP/UI_PVPMain";
public static readonly string UI_Camp = "Camp/UI_Camp";
public static readonly string UI_Patio = "MainScene/Raffle/UI_Patio";
public static readonly string UI_BuyDiamond = "Interface/Shop/UI_BuyDiamond";
}

View File

@ -121,8 +121,9 @@ public class ShopManager:Singlenton<ShopManager>
{
public List<ShopData> AllShopData = new List<ShopData>();
public Dictionary<int, ShopData> ShopIdDic = new Dictionary<int, ShopData>();
public static int DiamondShopId=0;
public ShopData GetFirstData()
{