修复开始游戏无法点击和UI增加

This commit is contained in:
YiHan0621
2025-09-23 15:05:32 +08:00
parent fc76624711
commit 25cf205770
16 changed files with 792 additions and 144 deletions

View File

@@ -2570,6 +2570,74 @@ Transform:
type: 3} type: 3}
m_PrefabInstance: {fileID: 1856883457} m_PrefabInstance: {fileID: 1856883457}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
--- !u!1 &1870994590
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1870994593}
- component: {fileID: 1870994592}
- component: {fileID: 1870994591}
m_Layer: 0
m_Name: EventSystem
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1870994591
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1870994590}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}
m_Name:
m_EditorClassIdentifier:
m_SendPointerHoverToParent: 1
m_HorizontalAxis: Horizontal
m_VerticalAxis: Vertical
m_SubmitButton: Submit
m_CancelButton: Cancel
m_InputActionsPerSecond: 10
m_RepeatDelay: 0.5
m_ForceModuleActive: 0
--- !u!114 &1870994592
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1870994590}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_FirstSelected: {fileID: 0}
m_sendNavigationEvents: 1
m_DragThreshold: 10
--- !u!4 &1870994593
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1870994590}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1892906615 --- !u!1 &1892906615
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@@ -411,9 +411,9 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 9300730} - component: {fileID: 9300730}
- component: {fileID: 9300732} - component: {fileID: 9300732}
- component: {fileID: 9300731} - component: {fileID: 9300733}
m_Layer: 5 m_Layer: 5
m_Name: text m_Name: icon
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
@@ -434,12 +434,20 @@ RectTransform:
m_Father: {fileID: 500358688} m_Father: {fileID: 500358688}
m_RootOrder: 0 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} m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: -51}
m_SizeDelta: {x: 0, y: 0} m_SizeDelta: {x: 283, y: 110}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &9300731 --- !u!222 &9300732
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9300729}
m_CullTransparentMesh: 0
--- !u!114 &9300733
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
@@ -448,7 +456,7 @@ MonoBehaviour:
m_GameObject: {fileID: 9300729} m_GameObject: {fileID: 9300729}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
@@ -459,28 +467,16 @@ MonoBehaviour:
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_FontData: m_Sprite: {fileID: 21300000, guid: e5fbd538f40d65a47859c3c8def6ee64, type: 3}
m_Font: {fileID: 12800000, guid: df83a8ef8ec265d408cd57ce58f209bf, type: 3} m_Type: 0
m_FontSize: 40 m_PreserveAspect: 0
m_FontStyle: 0 m_FillCenter: 1
m_BestFit: 0 m_FillMethod: 4
m_MinSize: 4 m_FillAmount: 1
m_MaxSize: 80 m_FillClockwise: 1
m_Alignment: 4 m_FillOrigin: 0
m_AlignByGeometry: 0 m_UseSpriteMesh: 0
m_RichText: 1 m_PixelsPerUnitMultiplier: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u51FA\u552E\u91CD\u590D\u5361\u724C"
--- !u!222 &9300732
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9300729}
m_CullTransparentMesh: 0
--- !u!1 &15523032 --- !u!1 &15523032
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -493,7 +489,7 @@ GameObject:
- component: {fileID: 15523035} - component: {fileID: 15523035}
- component: {fileID: 15523034} - component: {fileID: 15523034}
m_Layer: 5 m_Layer: 5
m_Name: BG m_Name: SellDuplicateBox
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
@@ -510,14 +506,19 @@ 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_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children:
- {fileID: 26068314}
- {fileID: 1520293344}
- {fileID: 500358688}
- {fileID: 1474056229}
- {fileID: 1925202651}
m_Father: {fileID: 645195504} m_Father: {fileID: 645195504}
m_RootOrder: 0 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} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 18.1}
m_SizeDelta: {x: 0, y: 0} m_SizeDelta: {x: 740, y: 530}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &15523034 --- !u!114 &15523034
MonoBehaviour: MonoBehaviour:
@@ -663,13 +664,13 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 645195504} m_Father: {fileID: 15523033}
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: 1} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 338, y: -47.049988} m_AnchoredPosition: {x: 314.93, y: -42.07498}
m_SizeDelta: {x: 600.2, y: 94.100006} m_SizeDelta: {x: 600.2, y: 84.15}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &26068315 --- !u!114 &26068315
MonoBehaviour: MonoBehaviour:
@@ -693,8 +694,8 @@ MonoBehaviour:
m_Calls: [] m_Calls: []
m_FontData: m_FontData:
m_Font: {fileID: 12800000, guid: 294abb673bffdbb498170d01a73153e5, type: 3} m_Font: {fileID: 12800000, guid: 294abb673bffdbb498170d01a73153e5, type: 3}
m_FontSize: 42 m_FontSize: 50
m_FontStyle: 0 m_FontStyle: 1
m_BestFit: 0 m_BestFit: 0
m_MinSize: 2 m_MinSize: 2
m_MaxSize: 52 m_MaxSize: 52
@@ -747,7 +748,7 @@ RectTransform:
m_Children: m_Children:
- {fileID: 1579309084} - {fileID: 1579309084}
m_Father: {fileID: 581826003} m_Father: {fileID: 581826003}
m_RootOrder: 13 m_RootOrder: 14
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1}
@@ -4430,7 +4431,7 @@ RectTransform:
m_Children: m_Children:
- {fileID: 2362714} - {fileID: 2362714}
m_Father: {fileID: 581826003} m_Father: {fileID: 581826003}
m_RootOrder: 15 m_RootOrder: 16
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1}
@@ -5783,7 +5784,7 @@ RectTransform:
- {fileID: 1233613699} - {fileID: 1233613699}
- {fileID: 515092353} - {fileID: 515092353}
- {fileID: 992410216} - {fileID: 992410216}
m_Father: {fileID: 441085351} m_Father: {fileID: 581826003}
m_RootOrder: 13 m_RootOrder: 13
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
@@ -6109,7 +6110,7 @@ PrefabInstance:
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
propertyPath: m_AnchorMax.y propertyPath: m_AnchorMax.y
value: 1 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
@@ -6119,7 +6120,7 @@ PrefabInstance:
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
propertyPath: m_AnchorMin.y propertyPath: m_AnchorMin.y
value: 1 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
@@ -6169,12 +6170,12 @@ PrefabInstance:
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
propertyPath: m_AnchoredPosition.x propertyPath: m_AnchoredPosition.x
value: 242.26 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
propertyPath: m_AnchoredPosition.y propertyPath: m_AnchoredPosition.y
value: -265 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
@@ -8326,7 +8327,6 @@ RectTransform:
- {fileID: 1235042727} - {fileID: 1235042727}
- {fileID: 732915989} - {fileID: 732915989}
- {fileID: 1674082197} - {fileID: 1674082197}
- {fileID: 252977714}
m_Father: {fileID: 581826003} m_Father: {fileID: 581826003}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@@ -9579,13 +9579,13 @@ RectTransform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
- {fileID: 9300730} - {fileID: 9300730}
m_Father: {fileID: 645195504} m_Father: {fileID: 15523033}
m_RootOrder: 3 m_RootOrder: 2
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: 0, y: -115} m_AnchoredPosition: {x: 0, y: -198.2}
m_SizeDelta: {x: 380, y: 90.74945} m_SizeDelta: {x: 260.94, y: 95.87}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &500358689 --- !u!114 &500358689
MonoBehaviour: MonoBehaviour:
@@ -9656,14 +9656,14 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 0}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_Sprite: {fileID: 21300000, guid: 80bb4745fbd49ca49b161ac56ac1eb9b, type: 3} m_Sprite: {fileID: 0}
m_Type: 0 m_Type: 0
m_PreserveAspect: 0 m_PreserveAspect: 0
m_FillCenter: 1 m_FillCenter: 1
@@ -10839,6 +10839,7 @@ RectTransform:
- {fileID: 1254866416} - {fileID: 1254866416}
- {fileID: 947751578} - {fileID: 947751578}
- {fileID: 2144059522} - {fileID: 2144059522}
- {fileID: 252977714}
- {fileID: 26631290} - {fileID: 26631290}
- {fileID: 1899491177} - {fileID: 1899491177}
- {fileID: 211963061} - {fileID: 211963061}
@@ -12221,18 +12222,13 @@ RectTransform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
- {fileID: 15523033} - {fileID: 15523033}
- {fileID: 26068314}
- {fileID: 1520293344}
- {fileID: 500358688}
- {fileID: 1474056229}
- {fileID: 1925202651}
m_Father: {fileID: 3342894375174218281} m_Father: {fileID: 3342894375174218281}
m_RootOrder: 8 m_RootOrder: 8
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, y: 0}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -35.3} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 1000, y: 700} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!225 &645195506 --- !u!225 &645195506
CanvasGroup: CanvasGroup:
@@ -12259,15 +12255,15 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0} m_Color: {r: 0, g: 0, b: 0, a: 0.5019608}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} m_Sprite: {fileID: 0}
m_Type: 1 m_Type: 0
m_PreserveAspect: 0 m_PreserveAspect: 0
m_FillCenter: 1 m_FillCenter: 1
m_FillMethod: 4 m_FillMethod: 4
@@ -18314,7 +18310,7 @@ RectTransform:
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: 0, y: -13.26} m_AnchoredPosition: {x: 0, y: -1.935}
m_SizeDelta: {x: 1922, y: 1083.87} m_SizeDelta: {x: 1922, y: 1083.87}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &947751579 --- !u!114 &947751579
@@ -18363,7 +18359,7 @@ CanvasGroup:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 947751577} m_GameObject: {fileID: 947751577}
m_Enabled: 1 m_Enabled: 1
m_Alpha: 1 m_Alpha: 0
m_Interactable: 1 m_Interactable: 1
m_BlocksRaycasts: 1 m_BlocksRaycasts: 1
m_IgnoreParentGroups: 0 m_IgnoreParentGroups: 0
@@ -18380,6 +18376,8 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
display_speed: 4 display_speed: 4
start_game_button: {fileID: 165315898}
close: {fileID: 632859788}
preset_lineup: {fileID: 1480784485} preset_lineup: {fileID: 1480784485}
preset_lineup_button: {fileID: 1205216168} preset_lineup_button: {fileID: 1205216168}
hide_panel: {fileID: 1622856781} hide_panel: {fileID: 1622856781}
@@ -18391,7 +18389,6 @@ MonoBehaviour:
deck_display_grid: {fileID: 545236223} deck_display_grid: {fileID: 545236223}
deleteDeckButton: {fileID: 122017643} deleteDeckButton: {fileID: 122017643}
deckSelector: {fileID: 1905130909} deckSelector: {fileID: 1905130909}
dropdownValue: {fileID: 1905130910}
active_lines_size: 12 active_lines_size: 12
card_lines_size: 12 card_lines_size: 12
--- !u!1001 &955449648 --- !u!1001 &955449648
@@ -19893,7 +19890,7 @@ PrefabInstance:
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
propertyPath: m_AnchorMax.y propertyPath: m_AnchorMax.y
value: 1 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
@@ -19903,7 +19900,7 @@ PrefabInstance:
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
propertyPath: m_AnchorMin.y propertyPath: m_AnchorMin.y
value: 1 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
@@ -19953,12 +19950,12 @@ PrefabInstance:
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
propertyPath: m_AnchoredPosition.x propertyPath: m_AnchoredPosition.x
value: 242.26 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
propertyPath: m_AnchoredPosition.y propertyPath: m_AnchoredPosition.y
value: -80 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
@@ -24946,7 +24943,7 @@ PrefabInstance:
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
propertyPath: m_AnchorMax.y propertyPath: m_AnchorMax.y
value: 1 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
@@ -24956,7 +24953,7 @@ PrefabInstance:
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
propertyPath: m_AnchorMin.y propertyPath: m_AnchorMin.y
value: 1 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
@@ -25006,12 +25003,12 @@ PrefabInstance:
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
propertyPath: m_AnchoredPosition.x propertyPath: m_AnchoredPosition.x
value: 242.26 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
propertyPath: m_AnchoredPosition.y propertyPath: m_AnchoredPosition.y
value: -450 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
@@ -26943,7 +26940,7 @@ PrefabInstance:
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
propertyPath: m_AnchorMax.y propertyPath: m_AnchorMax.y
value: 1 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
@@ -26953,7 +26950,7 @@ PrefabInstance:
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
propertyPath: m_AnchorMin.y propertyPath: m_AnchorMin.y
value: 1 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
@@ -27003,12 +27000,12 @@ PrefabInstance:
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
propertyPath: m_AnchoredPosition.x propertyPath: m_AnchoredPosition.x
value: 242.26 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
propertyPath: m_AnchoredPosition.y propertyPath: m_AnchoredPosition.y
value: -820 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
@@ -29684,13 +29681,13 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 645195504} m_Father: {fileID: 15523033}
m_RootOrder: 4 m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1} m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -48, y: -52} m_AnchoredPosition: {x: -46.940002, y: -49.100006}
m_SizeDelta: {x: 63.900024, y: 64.29999} m_SizeDelta: {x: 72, y: 80}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1474056230 --- !u!114 &1474056230
MonoBehaviour: MonoBehaviour:
@@ -30003,13 +30000,13 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 645195504} m_Father: {fileID: 15523033}
m_RootOrder: 2 m_RootOrder: 1
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: -1.5, y: 104.04} m_AnchoredPosition: {x: 0, y: -24.9}
m_SizeDelta: {x: 707.35, y: 267.04} m_SizeDelta: {x: 636, y: 267.04}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1520293345 --- !u!114 &1520293345
MonoBehaviour: MonoBehaviour:
@@ -30033,18 +30030,18 @@ MonoBehaviour:
m_Calls: [] m_Calls: []
m_FontData: m_FontData:
m_Font: {fileID: 12800000, guid: 294abb673bffdbb498170d01a73153e5, type: 3} m_Font: {fileID: 12800000, guid: 294abb673bffdbb498170d01a73153e5, type: 3}
m_FontSize: 42 m_FontSize: 50
m_FontStyle: 0 m_FontStyle: 1
m_BestFit: 0 m_BestFit: 0
m_MinSize: 2 m_MinSize: 2
m_MaxSize: 52 m_MaxSize: 52
m_Alignment: 4 m_Alignment: 0
m_AlignByGeometry: 0 m_AlignByGeometry: 0
m_RichText: 1 m_RichText: 1
m_HorizontalOverflow: 0 m_HorizontalOverflow: 0
m_VerticalOverflow: 0 m_VerticalOverflow: 0
m_LineSpacing: 1 m_LineSpacing: 1.2
m_Text: Are you sure you want to sell all cards duplicates over 2 copies? m_Text: "\u4F60\u786E\u5B9A\u8981\u51FA\u552E\u8D85\u8FC72\u4EFD\u7684\u91CD\u590D\r\n\u5361\u724C\u5417?"
--- !u!222 &1520293346 --- !u!222 &1520293346
CanvasRenderer: CanvasRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -31688,6 +31685,18 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1601973641} m_GameObject: {fileID: 1601973641}
m_CullTransparentMesh: 0 m_CullTransparentMesh: 0
--- !u!114 &1602031924 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 7582229092490914043, guid: 0accd4da4294124469730eded62c3d6c,
type: 3}
m_PrefabInstance: {fileID: 1548541357}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 20cb804e9da996c40bfa27b9a70bd519, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1602917563 --- !u!1 &1602917563
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -33914,6 +33923,82 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1726359333} m_GameObject: {fileID: 1726359333}
m_CullTransparentMesh: 0 m_CullTransparentMesh: 0
--- !u!1 &1727023670
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1727023671}
- component: {fileID: 1727023673}
- component: {fileID: 1727023672}
m_Layer: 5
m_Name: "\u6548\u679C\u56FE"
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1727023671
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1727023670}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 3342894375174218281}
m_RootOrder: 10
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: 0, y: 0}
m_SizeDelta: {x: 1920, y: 1080}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1727023672
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1727023670}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 534621490949fbe4fbfee3b3e4fa20ea, 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
m_PixelsPerUnitMultiplier: 1
--- !u!222 &1727023673
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1727023670}
m_CullTransparentMesh: 1
--- !u!1 &1727585005 --- !u!1 &1727585005
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -36593,7 +36678,7 @@ RectTransform:
m_Children: m_Children:
- {fileID: 2137610353} - {fileID: 2137610353}
m_Father: {fileID: 581826003} m_Father: {fileID: 581826003}
m_RootOrder: 14 m_RootOrder: 15
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0} m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0} m_AnchorMax: {x: 0.5, y: 0}
@@ -36665,18 +36750,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 4daa8faeec7ed4b47b929070d37c732e, type: 3} m_Script: {fileID: 11500000, guid: 4daa8faeec7ed4b47b929070d37c732e, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
--- !u!114 &1905130910 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 5929360280526049818, guid: 6b3155993a1341a49af0f02e2a29df66,
type: 3}
m_PrefabInstance: {fileID: 454365056}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0657b564c5827e148bfa6e2fb4ad96cd, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1906895969 --- !u!1 &1906895969
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -37221,17 +37294,17 @@ RectTransform:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1925202650} m_GameObject: {fileID: 1925202650}
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_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 645195504} m_Father: {fileID: 15523033}
m_RootOrder: 5 m_RootOrder: 4
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}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: -3, y: -229} m_AnchoredPosition: {x: 0, y: -36.849976}
m_SizeDelta: {x: 922, y: 73.7} m_SizeDelta: {x: 922, y: 73.7}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1925202652 --- !u!114 &1925202652
@@ -39652,7 +39725,7 @@ MonoBehaviour:
level_slider: {fileID: 1958182121} level_slider: {fileID: 1958182121}
version_text: {fileID: 1975599770} version_text: {fileID: 1975599770}
deck_selector: {fileID: 1905130909} deck_selector: {fileID: 1905130909}
deck_preview: {fileID: 0} deck_preview: {fileID: 1602031924}
--- !u!114 &2085134347 --- !u!114 &2085134347
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -40166,7 +40239,7 @@ PrefabInstance:
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
propertyPath: m_AnchorMax.y propertyPath: m_AnchorMax.y
value: 1 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
@@ -40176,7 +40249,7 @@ PrefabInstance:
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
propertyPath: m_AnchorMin.y propertyPath: m_AnchorMin.y
value: 1 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
@@ -40226,12 +40299,12 @@ PrefabInstance:
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
propertyPath: m_AnchoredPosition.x propertyPath: m_AnchoredPosition.x
value: 242.26 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
propertyPath: m_AnchoredPosition.y propertyPath: m_AnchoredPosition.y
value: -635 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258, - target: {fileID: 5462092070690285012, guid: 4c6aae1ce058f1f43b681dfa8551e258,
type: 3} type: 3}
@@ -50401,7 +50474,7 @@ CanvasGroup:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3342894375174218282} m_GameObject: {fileID: 3342894375174218282}
m_Enabled: 1 m_Enabled: 1
m_Alpha: 0 m_Alpha: 1
m_Interactable: 1 m_Interactable: 1
m_BlocksRaycasts: 1 m_BlocksRaycasts: 1
m_IgnoreParentGroups: 0 m_IgnoreParentGroups: 0
@@ -50531,6 +50604,7 @@ RectTransform:
- {fileID: 3342894375485981713} - {fileID: 3342894375485981713}
- {fileID: 645195504} - {fileID: 645195504}
- {fileID: 2133752679} - {fileID: 2133752679}
- {fileID: 1727023671}
m_Father: {fileID: 581826003} m_Father: {fileID: 581826003}
m_RootOrder: 6 m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@@ -52591,7 +52665,7 @@ CanvasGroup:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3342894375485981714} m_GameObject: {fileID: 3342894375485981714}
m_Enabled: 1 m_Enabled: 1
m_Alpha: 0 m_Alpha: 1
m_Interactable: 1 m_Interactable: 1
m_BlocksRaycasts: 1 m_BlocksRaycasts: 1
m_IgnoreParentGroups: 0 m_IgnoreParentGroups: 0
@@ -56136,7 +56210,7 @@ MonoBehaviour:
m_HorizontalOverflow: 0 m_HorizontalOverflow: 0
m_VerticalOverflow: 0 m_VerticalOverflow: 0
m_LineSpacing: 1 m_LineSpacing: 1
m_Text: CARDBACKS m_Text: "\u5361\u80CC"
--- !u!224 &3342894376010210657 --- !u!224 &3342894376010210657
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@@ -248,6 +248,7 @@ namespace TcgEngine
{ {
udata = ApiTool.JsonToObject<UserData>(res.data); udata = ApiTool.JsonToObject<UserData>(res.data);
Debug.Log($"获取玩家数据:{res.data}"); Debug.Log($"获取玩家数据:{res.data}");
Debug.Log($"lastWinDeck{udata.lastWinDeck}");
} }
return udata; return udata;
} }

View File

@@ -36,6 +36,7 @@ namespace TcgEngine
public UserCardData[] cards; public UserCardData[] cards;
public UserCardData[] packs; public UserCardData[] packs;
public UserDeckData[] decks; public UserDeckData[] decks;
public UserDeckData lastWinDeck;
public string[] rewards; public string[] rewards;
public string[] avatars; public string[] avatars;
public string[] cardbacks; public string[] cardbacks;

View File

@@ -42,6 +42,27 @@ namespace TcgEngine.UI
RankMedalData.Load(); RankMedalData.Load();
} }
private void Start()
{
viewCardButton.onClick.AddListener(OnViewCard);
}
private async void OnViewCard()
{
UserData udata = null;
udata = await ApiClient.Get().LoadUserData(id);
if (udata.lastWinDeck.title != null)
{
Debug.Log($"找到{udata.lastWinDeck.title}");
PresetDeck.Get().SetupUserCardList(udata.lastWinDeck, username);
}
else
{
Debug.Log($"没有udata.lastWinDeck");
}
}
public void SetLine(LadderLeaderboardEntry udata, int ranking, Sprite avatar, public void SetLine(LadderLeaderboardEntry udata, int ranking, Sprite avatar,
int rankId, int rankScore, int stars, bool highlight) int rankId, int rankScore, int stars, bool highlight)
{ {

View File

@@ -54,12 +54,12 @@ namespace TcgEngine
return null; return null;
} }
Debug.Log($"[SpriteLoader] Loading sprite: {relativePath}"); // Debug.Log($"[SpriteLoader] Loading sprite: {relativePath}");
// 检查缓存 // 检查缓存
if (spriteCache.ContainsKey(relativePath)) if (spriteCache.ContainsKey(relativePath))
{ {
Debug.Log($"[SpriteLoader] Found in cache: {relativePath}"); // Debug.Log($"[SpriteLoader] Found in cache: {relativePath}");
return spriteCache[relativePath]; return spriteCache[relativePath];
} }

View File

@@ -227,7 +227,7 @@ namespace TcgEngine.UI
{ {
card = null; card = null;
variant = null; variant = null;
Hide();
if (card_image) card_image.enabled = false; if (card_image) card_image.enabled = false;
if (frame_image) frame_image.enabled = false; if (frame_image) frame_image.enabled = false;
if (team_icon) team_icon.enabled = false; if (team_icon) team_icon.enabled = false;

View File

@@ -10,7 +10,10 @@ namespace TcgEngine.UI
{ {
public class PresetDeck : UIPanel public class PresetDeck : UIPanel
{ {
[Header("展示面板")] public Button start_game_button;
public TabButton close;
[Header("卡组面板")]
public UIPanel preset_lineup; public UIPanel preset_lineup;
public Button preset_lineup_button; public Button preset_lineup_button;
public UIPanel hide_panel; public UIPanel hide_panel;
@@ -24,7 +27,6 @@ namespace TcgEngine.UI
[Header("预设面板")] [Header("预设面板")]
public Button deleteDeckButton; public Button deleteDeckButton;
public DeckSelector deckSelector; public DeckSelector deckSelector;
public DropdownValue dropdownValue;
private Button hide_panel_button; private Button hide_panel_button;
@@ -35,9 +37,10 @@ namespace TcgEngine.UI
// 卡组展示管理 // 卡组展示管理
public int card_lines_size = 12; public int card_lines_size = 12;
public List<CardUI> card_pool = new List<CardUI>(); private List<CardUI> card_pool = new List<CardUI>();
public List<CardUI> card_lines = new List<CardUI>(); private List<CardUI> card_lines = new List<CardUI>();
private bool _isRankData;
private UserData lastUserData; private UserData lastUserData;
private int currIndex = 0; private int currIndex = 0;
@@ -80,6 +83,9 @@ namespace TcgEngine.UI
hide_panel_button.onClick.AddListener(OffPresetLineupPanle); hide_panel_button.onClick.AddListener(OffPresetLineupPanle);
deleteDeckButton.onClick.AddListener(OnDeleteDeck); deleteDeckButton.onClick.AddListener(OnDeleteDeck);
start_game_button.onClick.AddListener(OnStartGame);
close.onClick += HidePanel;
} }
#region #region
@@ -161,24 +167,63 @@ namespace TcgEngine.UI
card_lines.Clear(); card_lines.Clear();
UserDeckData udeck = active_lines[GetCurrIndex()].GetUserDeck(); UserDeckData udeck = active_lines[GetCurrIndex()].GetUserDeck();
Debug.Log("卡组数量:"+udeck.cards.Length); int index = 0; // 对象池索引
for (int i = 0; i < udeck.cards.Length; i++) foreach (var ucard in udeck.cards)
{ {
UserCardData ucard = udeck.cards[i]; for (int q = 0; q < ucard.quantity; q++)
CardUI line = card_pool[i]; {
if (index >= card_pool.Count)
break;
CardData cdata = CardData.Get(ucard.tid); CardUI line = card_pool[index++];
VariantData variant = VariantData.Get(ucard.variant); CardData cdata = CardData.Get(ucard.tid);
VariantData variant = VariantData.Get(ucard.variant);
line.Refresh(cdata, variant); line.Refresh(cdata, variant);
line.gameObject.SetActive(true); line.gameObject.SetActive(true);
card_lines.Add(line); card_lines.Add(line);
}
} }
} }
/// <summary>
/// 天梯排行榜使用
/// </summary>
public void SetupUserCardList(UserDeckData udeck, string name)
{
_isRankData = true;
Show();
foreach (var line in card_pool)
line.ResetLine();
card_lines.Clear();
int index = 0; // 对象池索引
foreach (var ucard in udeck.cards)
{
for (int q = 0; q < ucard.quantity; q++)
{
if (index >= card_pool.Count)
break;
CardUI line = card_pool[index++];
CardData cdata = CardData.Get(ucard.tid);
VariantData variant = VariantData.Get(ucard.variant);
line.Refresh(cdata, variant);
line.gameObject.SetActive(true);
card_lines.Add(line);
}
}
}
#endregion #endregion
private void OnStartGame()
{
MainMenu.Get().OnClickPvP();
}
/// <summary> /// <summary>
/// 打开预设面板 /// 打开预设面板
/// </summary> /// </summary>
@@ -200,13 +245,38 @@ namespace TcgEngine.UI
{ {
base.Show(instant); base.Show(instant);
SetupUserDeckList(); if (!_isRankData)
{
SetupUserDeckList();
preset_lineup_button.gameObject.SetActive(true);
}
else
{
preset_lineup_button.gameObject.SetActive(false);
}
if (currIndex != 0)
{
SetupUserCardList();
}
preset_lineup.Hide(); preset_lineup.Hide();
hide_panel.Hide(); hide_panel.Hide();
} }
private void HidePanel()
{
if (_isRankData)
{
LeaderboardPanel.Get().Show();
_isRankData = false;
}
}
public override void Hide(bool instant = false)
{
base.Hide(instant);
}
public static PresetDeck Get() public static PresetDeck Get()
{ {
return instance; return instance;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 968 KiB

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -0,0 +1,135 @@
fileFormatVersion: 2
guid: e5fbd538f40d65a47859c3c8def6ee64
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c175b8d9a0361c248884752852d7a4f9
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@@ -0,0 +1,135 @@
fileFormatVersion: 2
guid: 534621490949fbe4fbfee3b3e4fa20ea
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@@ -0,0 +1,135 @@
fileFormatVersion: 2
guid: 3a48c31c4e5f64145b3713f5daaf202b
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant: