This commit is contained in:
GL 2024-12-20 21:42:15 +08:00
commit e2fbb81bb5
6 changed files with 866 additions and 956 deletions

View File

@ -1,5 +1,413 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &151667937
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 151667938}
- component: {fileID: 151667940}
- component: {fileID: 151667939}
m_Layer: 5
m_Name: PushNumer
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &151667938
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 151667937}
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: 3440755766777603805}
m_RootOrder: 9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
m_AnchoredPosition: {x: 181, y: -104}
m_SizeDelta: {x: 221.08832, y: 67.53931}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &151667940
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 151667937}
m_CullTransparentMesh: 1
--- !u!114 &151667939
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 151667937}
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: 0
m_MaxSize: 40
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u95F4\u63A8\u4EBA\u6570"
--- !u!1 &1239001328
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1239001329}
- component: {fileID: 1239001331}
- component: {fileID: 1239001330}
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 &1239001329
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1239001328}
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: 3440755767378187976}
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: 33.8608, y: -0.0805}
m_SizeDelta: {x: 110.2787, y: 34.2443}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1239001331
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1239001328}
m_CullTransparentMesh: 1
--- !u!114 &1239001330
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1239001328}
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: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 999
--- !u!1 &1605100377
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1605100378}
- component: {fileID: 1605100380}
- component: {fileID: 1605100379}
m_Layer: 5
m_Name: PushFill
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1605100378
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1605100377}
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: 1959425528}
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: -8.1117, y: 0}
m_SizeDelta: {x: 179.921, y: -4}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1605100380
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1605100377}
m_CullTransparentMesh: 1
--- !u!114 &1605100379
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1605100377}
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: a3dd8cd033839dd45b97947b59d59c47, type: 3}
m_Type: 3
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 0
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &1793803557
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1793803558}
- component: {fileID: 1793803560}
- component: {fileID: 1793803559}
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 &1793803558
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1793803557}
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: 1959425528}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: 0, y: 16}
m_SizeDelta: {x: -534, y: 30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1793803560
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1793803557}
m_CullTransparentMesh: 1
--- !u!114 &1793803559
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1793803557}
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.9811321, g: 0.9811321, b: 0.9811321, 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: 20
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: 20/100
--- !u!1 &1959425527
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1959425528}
- component: {fileID: 1959425531}
- component: {fileID: 1959425530}
- component: {fileID: 1959425529}
m_Layer: 5
m_Name: PushTiao
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1959425528
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1959425527}
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: 1605100378}
- {fileID: 1793803558}
m_Father: {fileID: 3440755766777603805}
m_RootOrder: 10
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: 119.56641, y: -109}
m_SizeDelta: {x: -378.8672, y: 32}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1959425531
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1959425527}
m_CullTransparentMesh: 1
--- !u!114 &1959425530
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1959425527}
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: 705fcc4638dd2e54fb3eb11f58ffcffa, 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 &1959425529
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1959425527}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3}
m_Name:
m_EditorClassIdentifier:
m_ShowMaskGraphic: 1
--- !u!1 &1342525991856669873
GameObject:
m_ObjectHideFlags: 0
@ -87,6 +495,7 @@ GameObject:
- component: {fileID: 3440755765421972194}
- component: {fileID: 3440755765421972192}
- component: {fileID: 3440755765421972193}
- component: {fileID: 8687261538848957038}
m_Layer: 5
m_Name: jinbitiao
m_TagString: Untagged
@ -113,7 +522,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: 119.56641, y: 0}
m_AnchoredPosition: {x: 119.56641, y: -31}
m_SizeDelta: {x: -378.8672, y: 32}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3440755765421972192
@ -154,6 +563,19 @@ MonoBehaviour:
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!114 &8687261538848957038
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3440755765421972195}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3}
m_Name:
m_EditorClassIdentifier:
m_ShowMaskGraphic: 1
--- !u!1 &3440755765570656169
GameObject:
m_ObjectHideFlags: 0
@ -165,6 +587,7 @@ GameObject:
- component: {fileID: 3440755765570656168}
- component: {fileID: 3440755765570656174}
- component: {fileID: 3440755765570656175}
- component: {fileID: 6291352156879861188}
m_Layer: 5
m_Name: Eco_tree_team
m_TagString: Untagged
@ -179,7 +602,7 @@ RectTransform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3440755765570656169}
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_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
@ -234,6 +657,28 @@ MonoBehaviour:
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!114 &6291352156879861188
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3440755765570656169}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a2d1ccd10c3613b408e333e0b49333ce, type: 3}
m_Name:
m_EditorClassIdentifier:
DirectPushNum: {fileID: 3440755766716849008}
PushNum: {fileID: 1793803559}
DirectPushFill: {fileID: 3440755767441218820}
PushFill: {fileID: 1605100379}
TeammateCount: {fileID: 3440755766087238670}
TeamName: {fileID: 3440755766994517451}
TeamId: {fileID: 3440755766186172140}
TeamCount: {fileID: 3440755766308721002}
item: {fileID: 4453883187140258689, guid: 9c0a1afc49941d041a7b0a58e553c4ae, type: 3}
parent: {fileID: 3440755767111519412}
--- !u!1 &3440755765987815313
GameObject:
m_ObjectHideFlags: 0
@ -269,7 +714,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
m_AnchoredPosition: {x: 181, y: 0}
m_AnchoredPosition: {x: 181, y: -31}
m_SizeDelta: {x: 221.08832, y: 67.53931}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3440755765987815318
@ -313,7 +758,7 @@ MonoBehaviour:
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u56E2\u961F\u4F7F\u7528\u91D1\u5E01"
m_Text: "\u76F4\u63A8\u4EBA\u6570"
--- !u!1 &3440755766087238664
GameObject:
m_ObjectHideFlags: 0
@ -775,10 +1220,10 @@ RectTransform:
m_Father: {fileID: 3440755766479410396}
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: -17, y: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: 0, y: 647}
m_SizeDelta: {x: 0, y: 1294}
m_Pivot: {x: 0, y: 1}
--- !u!222 &3440755766577965690
CanvasRenderer:
@ -976,6 +1421,8 @@ RectTransform:
- {fileID: 3440755765987815312}
- {fileID: 3440755767162293360}
- {fileID: 3440755765421972194}
- {fileID: 151667938}
- {fileID: 1959425528}
m_Father: {fileID: 3440755765570656168}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -1213,7 +1660,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 531.5, y: 0}
m_AnchoredPosition: {x: 540, y: -0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!114 &3440755767111519418
@ -1229,7 +1676,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_HorizontalFit: 1
m_VerticalFit: 1
m_VerticalFit: 2
--- !u!114 &3440755767111519417
MonoBehaviour:
m_ObjectHideFlags: 0
@ -1247,7 +1694,7 @@ MonoBehaviour:
m_Right: 0
m_Top: 0
m_Bottom: 0
m_ChildAlignment: 1
m_ChildAlignment: 0
m_Spacing: 0
m_ChildForceExpandWidth: 1
m_ChildForceExpandHeight: 1
@ -1400,6 +1847,7 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 4676938936693110530}
- {fileID: 1239001329}
m_Father: {fileID: 3440755766777603805}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -1458,7 +1906,7 @@ GameObject:
- component: {fileID: 3440755767441218827}
- component: {fileID: 3440755767441218820}
m_Layer: 5
m_Name: Image
m_Name: DirectPushFill
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
@ -1481,8 +1929,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -200.85056, y: 0}
m_SizeDelta: {x: -410.3012, y: -4}
m_AnchoredPosition: {x: -8.1117, y: 0}
m_SizeDelta: {x: 179.921, y: -4}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3440755767441218827
CanvasRenderer:
@ -1513,10 +1961,10 @@ MonoBehaviour:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: a3dd8cd033839dd45b97947b59d59c47, type: 3}
m_Type: 1
m_Type: 3
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillMethod: 0
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
@ -1557,8 +2005,8 @@ 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: 0, y: 0}
m_SizeDelta: {x: 66, y: 78}
m_AnchoredPosition: {x: -60.69827, y: -2.2027}
m_SizeDelta: {x: 43.7137, y: 52.9963}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5685503560019856232
CanvasRenderer:
@ -1615,23 +2063,23 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 8631885451795898584, guid: 638b7f7423db411419568d073208d929, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode
value: 1
value: 6
objectReference: {fileID: 0}
- target: {fileID: 8631885451795898584, guid: 638b7f7423db411419568d073208d929, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 0}
objectReference: {fileID: 3440755765570656169}
- target: {fileID: 8631885451795898584, guid: 638b7f7423db411419568d073208d929, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 8631885451795898584, guid: 638b7f7423db411419568d073208d929, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
value: CloseClick
value: SetActive
objectReference: {fileID: 0}
- target: {fileID: 8631885451795898584, guid: 638b7f7423db411419568d073208d929, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName
value: ZdTanchuang, Assembly-CSharp
value: UnityEngine.GameObject, UnityEngine
objectReference: {fileID: 0}
- target: {fileID: 8631885451795898584, guid: 638b7f7423db411419568d073208d929, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName
@ -1703,7 +2151,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 8631885451795898585, guid: 638b7f7423db411419568d073208d929, type: 3}
propertyPath: m_AnchoredPosition.x
value: 165
value: 202
objectReference: {fileID: 0}
- target: {fileID: 8631885451795898585, guid: 638b7f7423db411419568d073208d929, type: 3}
propertyPath: m_AnchoredPosition.y
@ -1721,9 +2169,21 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8631885452844930976, guid: 638b7f7423db411419568d073208d929, type: 3}
propertyPath: m_AnchoredPosition.x
value: 22
objectReference: {fileID: 0}
- target: {fileID: 8631885452844930979, guid: 638b7f7423db411419568d073208d929, type: 3}
propertyPath: m_Text
value: "\u95EF\u5173"
value: "\u751F\u6001\u6811\u56E2\u961F"
objectReference: {fileID: 0}
- target: {fileID: 8631885452844930979, guid: 638b7f7423db411419568d073208d929, type: 3}
propertyPath: m_FontData.m_MinSize
value: 2
objectReference: {fileID: 0}
- target: {fileID: 8631885452844930979, guid: 638b7f7423db411419568d073208d929, type: 3}
propertyPath: m_FontData.m_FontSize
value: 25
objectReference: {fileID: 0}
m_RemovedComponents:
- {fileID: 1906224345288813973, guid: 638b7f7423db411419568d073208d929, type: 3}

File diff suppressed because it is too large Load Diff

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: f03d12340aff50a429546bc27002ff44
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -41,6 +41,7 @@ public class Tree_team : MonoBehaviour
for (int i=0;i< response.Data.Pages.total_count; i++)
{
GameObject obj = GameObject.Instantiate(item,parent);
obj.transform.position= Vector3.zero;
obj.GetComponent<Tree_team_item>().itemName.text = response.Data.List[i].Nickname;
obj.GetComponent<Tree_team_item>().itemID.text ="id:"+ response.Data.List[i].Uid;
obj.GetComponent<Tree_team_item>().itemTeamCount.text ="ÍŶÓÈËÊý"+ response.Data.List[i].team_count;

View File

@ -10,31 +10,73 @@ public class WaterDrop : MonoBehaviour
public Transform targetPosition; // 目标位置
public float flyDuration = 1f; // 飞行持续时间
public int id;
string trans_id;
void Start()
{
DropBtn =GetComponent<Button>();
DropBtn = GetComponent<Button>();
DropBtn.onClick.AddListener(DropClick);
}
async void DropClick()
{
bool succefful = await Scene_main_jiekou.instance.TreeGetWaters(id, "string");
trans_id = GenerateRandomString(6);
bool succefful = await Scene_main_jiekou.instance.TreeGetWaters(id, trans_id);
if (succefful)
{
transform.DOMove(targetPosition.position, flyDuration)
TreeInfo info = await Scene_main_jiekou.instance.TreeInfoS();
// 先进行缩放动画
transform.DOScale(new Vector3(0.5f, 0.5f, 0.5f), 0.5f) // 缩小到0.5倍大小
.OnComplete(() =>
Destroy(this.gameObject)
);
{
// 然后执行移动动画
transform.DOScale(Vector3.one, 0.5f);
transform.DOMove(targetPosition.position, flyDuration)
.OnComplete(async () =>
{
// 移动完成后更新水面信息并销毁物体
transform.DOScale(new Vector3(0.5f, 0.5f, 0.5f), 0.5f).OnComplete(() =>
{
transform.DOScale(Vector3.one, 0.5f);
WaterPanel.instance.Updated_water(info);
Destroy(this.gameObject);
});
});
});
}
else
{
}
}
public string GenerateRandomString(int length)
{
System.Random random = new System.Random(); // 创建一个新的随机数生成器
const string chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; // 可用字符
char[] stringChars = new char[length]; // 用来存储生成的字符
for (int i = 0; i < length; i++)
{
stringChars[i] = chars[random.Next(chars.Length)]; // 随机选择一个字符
}
return new string(stringChars); // 将字符数组转换为字符串
}
// Update is called once per frame
void Update()
{
}
}