打包版本

This commit is contained in:
wulongxiao 2024-12-20 22:17:52 +08:00
parent bfd3ffcd8d
commit 31158c5cbd
10 changed files with 921 additions and 1864 deletions

View File

@ -1,5 +1,207 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &14673289
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 14673290}
- component: {fileID: 14673292}
- component: {fileID: 14673291}
m_Layer: 5
m_Name: Text (Legacy)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &14673290
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 14673289}
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: 1821575070}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &14673292
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 14673289}
m_CullTransparentMesh: 1
--- !u!114 &14673291
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 14673289}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 28
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 2
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u8D60\u9001"
--- !u!1 &1821575069
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1821575070}
- component: {fileID: 1821575073}
- component: {fileID: 1821575072}
- component: {fileID: 1821575071}
m_Layer: 5
m_Name: Button (Legacy)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1821575070
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1821575069}
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:
- {fileID: 14673290}
m_Father: {fileID: 6931136036260294093}
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: 80, y: 524.2}
m_SizeDelta: {x: 160, y: 71}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1821575073
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1821575069}
m_CullTransparentMesh: 1
--- !u!114 &1821575072
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1821575069}
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: 1}
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: 23d51be60fe5d524caad691690a5855e, 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!114 &1821575071
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1821575069}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 1821575072}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!1 &6931136036260294082
GameObject:
m_ObjectHideFlags: 0
@ -32,6 +234,7 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 6931136036740879336}
- {fileID: 1821575070}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -94,7 +297,10 @@ MonoBehaviour:
GetMoneyText: {fileID: 6931136036389693930}
GiveMoneyText: {fileID: 6931136037939810781}
HaveMoneyText: {fileID: 6931136036598575287}
itemPrefab: {fileID: 0}
itemBoxPrefab: {fileID: 3085038604584877223, guid: ce7baf84b8801624aa22e8f29b4b95b7, type: 3}
itemBoxPrefabParent: {fileID: 6931136037450377241}
itemBoxPrefabList: []
itemPrefab: {fileID: 8800312809106112678, guid: 8b02cd965c34edb4ebf6d67db033ccd2, type: 3}
--- !u!1 &6931136036319057909
GameObject:
m_ObjectHideFlags: 0
@ -1037,7 +1243,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.020293808, y: 0.030495511}
m_AnchorMax: {x: 1, y: 0.6325045}
m_AnchoredPosition: {x: -8.999939, y: -0.5}
m_AnchoredPosition: {x: -8.999878, y: -0.5}
m_SizeDelta: {x: -54, y: -0.022827148}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6931136036741494347
@ -1588,7 +1794,7 @@ RectTransform:
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 20, y: 20}
m_Pivot: {x: 0.5, y: 0.5}

View File

@ -1,5 +1,219 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &981653128960558376
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5542123331133430186}
- component: {fileID: 1454671785145368291}
- component: {fileID: 3816946278881585652}
m_Layer: 5
m_Name: info
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5542123331133430186
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 981653128960558376}
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:
- {fileID: 570284640200385960}
m_Father: {fileID: 8800312809106112679}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
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 &1454671785145368291
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 981653128960558376}
m_CullTransparentMesh: 1
--- !u!114 &3816946278881585652
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 981653128960558376}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreLayout: 0
m_MinWidth: 405
m_MinHeight: 45
m_PreferredWidth: -1
m_PreferredHeight: -1
m_FlexibleWidth: -1
m_FlexibleHeight: -1
m_LayoutPriority: 1
--- !u!1 &2489641690577957923
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2941114362215264637}
- component: {fileID: 5059004146696159870}
- component: {fileID: 5855689086471359752}
m_Layer: 5
m_Name: count
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2941114362215264637
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2489641690577957923}
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:
- {fileID: 3334072122437264460}
m_Father: {fileID: 8800312809106112679}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
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 &5059004146696159870
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2489641690577957923}
m_CullTransparentMesh: 1
--- !u!114 &5855689086471359752
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2489641690577957923}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreLayout: 0
m_MinWidth: 405
m_MinHeight: 45
m_PreferredWidth: -1
m_PreferredHeight: -1
m_FlexibleWidth: -1
m_FlexibleHeight: -1
m_LayoutPriority: 1
--- !u!1 &8099605165294690052
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 570284640200385960}
- component: {fileID: 1492324354883606453}
- component: {fileID: 4740917564580040412}
m_Layer: 5
m_Name: Text (Legacy)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &570284640200385960
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8099605165294690052}
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: 5542123331133430186}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 29.999998, y: 0}
m_SizeDelta: {x: -60.000004, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1492324354883606453
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8099605165294690052}
m_CullTransparentMesh: 1
--- !u!114 &4740917564580040412
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8099605165294690052}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 30
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 3
m_MaxSize: 40
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: New Text
--- !u!1 &8800312809106112678
GameObject:
m_ObjectHideFlags: 0
@ -10,6 +224,9 @@ GameObject:
m_Component:
- component: {fileID: 8800312809106112679}
- component: {fileID: 4613460312564376388}
- component: {fileID: 1760800529515967581}
- component: {fileID: 8266957139563066320}
- component: {fileID: 5452272966391336577}
m_Layer: 5
m_Name: Asset_Details_item
m_TagString: Untagged
@ -29,15 +246,15 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 8800312809432703919}
- {fileID: 8800312810282259087}
- {fileID: 5542123331133430186}
- {fileID: 2941114362215264637}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 46.3059}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &4613460312564376388
MonoBehaviour:
@ -51,9 +268,69 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: e3eea65db936075409912a8a7d52d647, type: 3}
m_Name:
m_EditorClassIdentifier:
info: {fileID: 8800312809432703904}
number: {fileID: 8800312810282259072}
--- !u!1 &8800312809432703918
info: {fileID: 4740917564580040412}
number: {fileID: 7046796827843136912}
--- !u!114 &1760800529515967581
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8800312809106112678}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreLayout: 0
m_MinWidth: 810
m_MinHeight: 45
m_PreferredWidth: -1
m_PreferredHeight: -1
m_FlexibleWidth: -1
m_FlexibleHeight: -1
m_LayoutPriority: 1
--- !u!114 &8266957139563066320
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8800312809106112678}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 30649d3a9faa99c48a7b1166b86bf2a0, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Padding:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_ChildAlignment: 0
m_Spacing: 0
m_ChildForceExpandWidth: 1
m_ChildForceExpandHeight: 1
m_ChildControlWidth: 1
m_ChildControlHeight: 1
m_ChildScaleWidth: 1
m_ChildScaleHeight: 1
m_ReverseArrangement: 0
--- !u!114 &5452272966391336577
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8800312809106112678}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3}
m_Name:
m_EditorClassIdentifier:
m_HorizontalFit: 1
m_VerticalFit: 1
--- !u!1 &9138442094192385314
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@ -61,58 +338,58 @@ GameObject:
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8800312809432703919}
- component: {fileID: 8800312809432703905}
- component: {fileID: 8800312809432703904}
- component: {fileID: 3334072122437264460}
- component: {fileID: 3313540873732455950}
- component: {fileID: 7046796827843136912}
m_Layer: 5
m_Name: textDate
m_Name: Text (Legacy)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8800312809432703919
--- !u!224 &3334072122437264460
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8800312809432703918}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_GameObject: {fileID: 9138442094192385314}
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: 8800312809106112679}
m_Father: {fileID: 2941114362215264637}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.047000002, y: 0.18033728}
m_AnchorMax: {x: 0.266, y: 0.8157574}
m_AnchoredPosition: {x: -0.5, y: 0.23199081}
m_SizeDelta: {x: -0.052001953, y: -0.17370033}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -30.000029, y: 0}
m_SizeDelta: {x: -59.999943, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8800312809432703905
--- !u!222 &3313540873732455950
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8800312809432703918}
m_GameObject: {fileID: 9138442094192385314}
m_CullTransparentMesh: 1
--- !u!114 &8800312809432703904
--- !u!114 &7046796827843136912
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8800312809432703918}
m_GameObject: {fileID: 9138442094192385314}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.35686275, g: 0.23921569, b: 0.12156863, a: 1}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
@ -121,95 +398,15 @@ MonoBehaviour:
m_Calls: []
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 32
m_FontStyle: 0
m_BestFit: 1
m_MinSize: 2
m_MaxSize: 40
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 1
m_LineSpacing: 1
m_Text: "\u5F97\u5230\u591A\u5C11\u591A\u5C11"
--- !u!1 &8800312810282259086
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8800312810282259087}
- component: {fileID: 8800312810282259073}
- component: {fileID: 8800312810282259072}
m_Layer: 5
m_Name: textCount
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8800312810282259087
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8800312810282259086}
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: 8800312809106112679}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.83148915, y: 0.18033728}
m_AnchorMax: {x: 0.9898499, y: 0.8157574}
m_AnchoredPosition: {x: 0.5, y: 0.8875694}
m_SizeDelta: {x: 1.1168976, y: -1.4848576}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8800312810282259073
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8800312810282259086}
m_CullTransparentMesh: 1
--- !u!114 &8800312810282259072
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8800312810282259086}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.8901961, g: 0, b: 0.1254902, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 32
m_FontSize: 30
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 2
m_MinSize: 3
m_MaxSize: 40
m_Alignment: 5
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 1
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "-\xA5195"
m_Text: New Text

View File

@ -12,6 +12,8 @@ GameObject:
- component: {fileID: 3085038604584877216}
- component: {fileID: 3085038604584877217}
- component: {fileID: 4233615721994047512}
- component: {fileID: 299667321}
- component: {fileID: 9169702926420969314}
m_Layer: 5
m_Name: Asset_Details_itembox
m_TagString: Untagged
@ -38,7 +40,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 401.755, y: 0}
m_SizeDelta: {x: 803.51, y: 0}
m_SizeDelta: {x: 810, y: 0}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &3085038604584877216
MonoBehaviour:
@ -70,15 +72,15 @@ MonoBehaviour:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Bottom: 30
m_ChildAlignment: 0
m_Spacing: 0
m_Spacing: 10
m_ChildForceExpandWidth: 1
m_ChildForceExpandHeight: 1
m_ChildControlWidth: 1
m_ChildControlHeight: 0
m_ChildScaleWidth: 0
m_ChildScaleHeight: 0
m_ChildControlHeight: 1
m_ChildScaleWidth: 1
m_ChildScaleHeight: 1
m_ReverseArrangement: 0
--- !u!114 &4233615721994047512
MonoBehaviour:
@ -93,7 +95,40 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
time: {fileID: 3085038605624301837}
count: {fileID: 3085038605682806839}
--- !u!114 &299667321
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3085038604584877223}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreLayout: 0
m_MinWidth: 810
m_MinHeight: 50
m_PreferredWidth: -1
m_PreferredHeight: -1
m_FlexibleWidth: -1
m_FlexibleHeight: -1
m_LayoutPriority: 1
--- !u!114 &9169702926420969314
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3085038604584877223}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3}
m_Name:
m_EditorClassIdentifier:
m_HorizontalFit: 1
m_VerticalFit: 1
--- !u!1 &3085038604622350453
GameObject:
m_ObjectHideFlags: 0
@ -103,6 +138,7 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 3085038604622350452}
- component: {fileID: 4194528261792469947}
m_Layer: 5
m_Name: GameObject
m_TagString: Untagged
@ -123,15 +159,34 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 3085038605624301826}
- {fileID: 3085038605682806836}
m_Father: {fileID: 3085038604584877222}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 50}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &4194528261792469947
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3085038604622350453}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreLayout: 0
m_MinWidth: 810
m_MinHeight: 50
m_PreferredWidth: -1
m_PreferredHeight: -1
m_FlexibleWidth: -1
m_FlexibleHeight: -1
m_LayoutPriority: 1
--- !u!1 &3085038605624301827
GameObject:
m_ObjectHideFlags: 0
@ -167,8 +222,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: -1.4489136, y: 0}
m_SizeDelta: {x: -2.8979034, y: 0}
m_AnchoredPosition: {x: -0.060028076, y: 0}
m_SizeDelta: {x: 0.11999893, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3085038605624301836
CanvasRenderer:
@ -191,7 +246,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.4862745, g: 0.4862745, b: 0.4862745, a: 1}
m_Color: {r: 0, g: 0, b: 0, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
@ -199,96 +254,16 @@ MonoBehaviour:
m_PersistentCalls:
m_Calls: []
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_Font: {fileID: 12800000, guid: e3265ab4bf004d28a9537516768c1c75, type: 3}
m_FontSize: 45
m_FontStyle: 0
m_BestFit: 1
m_MinSize: 30
m_MaxSize: 50
m_Alignment: 4
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 1
m_VerticalOverflow: 1
m_LineSpacing: 1
m_Text: 09.16
--- !u!1 &3085038605682806837
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3085038605682806836}
- component: {fileID: 3085038605682806838}
- component: {fileID: 3085038605682806839}
m_Layer: 5
m_Name: count
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &3085038605682806836
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3085038605682806837}
m_LocalRotation: {x: -0, y: -0, z: 0.00069049717, w: 0.99999976}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 3085038604622350452}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0.079}
m_AnchorMin: {x: 0.6107773, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0.8760376, y: 0.5}
m_SizeDelta: {x: -1.7642975, y: -1}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3085038605682806838
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3085038605682806837}
m_CullTransparentMesh: 1
--- !u!114 &3085038605682806839
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3085038605682806837}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.4862745, g: 0.4862745, b: 0.4862745, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 45
m_FontStyle: 0
m_BestFit: 1
m_MinSize: 30
m_MaxSize: 50
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 1
m_VerticalOverflow: 1
m_LineSpacing: 1
m_Text: "\u603B\u8BA1\uFF1A-\xA5195"

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,6 @@
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
@ -49,20 +50,64 @@ public class Asset_Details : MonoBehaviour
break;
}
IcomeList infoIcomeList = await Scene_main_jiekou.instance.GetIncomeList(1,10,type);
// 获取收入列表
IcomeList infoIcomeList = await Scene_main_jiekou.instance.GetIncomeList(1, 10, type);
// Step 1: 排序 statistics 按日期
List<statistics> sortedStatistics = infoIcomeList.Data.statistics
.OrderBy(s => s.date_time) // 按照 date_time 排序
.ToList();
foreach (statistics value in infoIcomeList.Data.statistics)
// Step 2: 遍历并生成对应的 itemBoxPrefab
foreach (statistics stat in sortedStatistics)
{
GameObject go = GameObject.Instantiate(itemBoxPrefab, itemBoxPrefabParent.transform);
go.GetComponent<Asset_Details_itembox>().init(value.date_time.ToString(), (value.total_income-value.total_expend).ToString());
go.GetComponent<Asset_Details_itembox>().init(stat.date_time.ToString());
itemBoxPrefabList.Add(go);
}
// Step 3: 排序 Transaction 按时间
List<Transaction> sortedTransactions = infoIcomeList.Data.List
.OrderBy(t => t.create_time) // 按照 create_time 排序
.ToList();
// Step 4: 遍历 Transaction按时间生成并归类到对应的 itemBoxPrefab
foreach (Transaction transaction in sortedTransactions)
{
// 提取 transaction 的日期部分yyyy-MM-dd
string transactionDate = transaction.create_time.Substring(0, 10).Replace("-", "");
// Step 5: 查找匹配的 statistics 日期
statistics matchingStat = sortedStatistics.FirstOrDefault(stat =>
stat.date_time.ToString() == transactionDate);
if (matchingStat != null)
{
// 查找对应的父节点 itemBoxPrefab
GameObject parentItemBox = itemBoxPrefabList.FirstOrDefault(box =>
box.GetComponent<Asset_Details_itembox>().GetDate() == matchingStat.date_time.ToString());
if (parentItemBox != null)
{
// Step 6: 生成 Transaction 对应的 itemPrefab并将其归类到正确的父节点下
GameObject item = GameObject.Instantiate(itemPrefab, parentItemBox.transform);
item.GetComponent<Asset_Details_item>().init(transaction.Income, transaction.Remark, transaction.Amount);
}
}
}
/*foreach (statistics value in infoIcomeList.Data.statistics)
{
GameObject go = GameObject.Instantiate(itemBoxPrefab, itemBoxPrefabParent.transform);
go.GetComponent<Asset_Details_itembox>().init(value.date_time.ToString());
itemBoxPrefabList.Add(go);
}
foreach (Transaction value in infoIcomeList.Data.List)
{
GameObject.Instantiate(itemPrefab, itemBoxPrefabList[0].transform).GetComponent<Asset_Details_item>().init(value.Income,value.Remark,value.Amount);
}
}*/
this.gameObject.SetActive(true);
}

View File

@ -0,0 +1,27 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ManurePanel : MonoBehaviour
{
public GameObject[] DropArrays;
async void Start()
{
TreeInfo info = await Scene_main_jiekou.instance.TreeInfoS();
for (int i = 0; i < info.Data.Rewards.Count; i++)
{
if (info.Data.Rewards[i].Show ==0)
{
DropArrays[i].gameObject.SetActive(false);
}
}
}
// Update is called once per frame
void Update()
{
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: de0d4ed2d4a4a3d47b735cb2fd1ce575
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -8,18 +8,19 @@ public class Asset_Details_item : MonoBehaviour
public Text info;
public Text number;
//private string dateTime; // 存储日期
public void init(bool _bool,string info,string number)
{
if (_bool)
{
this.info.text = info;
this.number.text = "<b><color=blue>+£¤" + number+ "</color></b>";
this.info.text = "<b><color=blue>+¥" + number + "</color></b>" ;
this.number.text = info;
}
else
{
this.info.text = info;
this.number.text ="<b><color=red>-£¤" + number+ "</color></b>";
this.info.text = "<b><color=red>-¥" + number + "</color></b>";
this.number.text = info;
}
}
}

View File

@ -6,11 +6,17 @@ using UnityEngine.UI;
public class Asset_Details_itembox : MonoBehaviour
{
public Text time;
public Text count;
private string dateTime; // 存储日期
public void init(string time,string count)
public void init(string timeText)
{
this.time.text = "时间:" + time;
this.count.text ="总计:"+ count;
this.dateTime = timeText; // 存储日期
this.time.text = "时间:" + timeText;
}
// 获取日期
public string GetDate()
{
return this.dateTime;
}
}

View File

@ -63,7 +63,7 @@ public class Transaction
public int AccountType { get; set; }
public string Amount { get; set; }
public string Remark { get; set; }
public string CreateTime { get; set; }
public string create_time { get; set; }
}
public class statistics