This commit is contained in:
wulongxiao 2024-12-27 18:13:52 +08:00
parent ae5c74f487
commit 5468f3f1e5
9 changed files with 72 additions and 546 deletions

View File

@ -705,6 +705,8 @@ MonoBehaviour:
- {fileID: 5361498673754352580}
panel: {fileID: 5361498673865314947}
sBtn: {fileID: 0}
prefab: {fileID: 8208978137248747371, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
prefabParent: {fileID: 5361498674124843496}
--- !u!1 &5361498673881270029
GameObject:
m_ObjectHideFlags: 0
@ -1029,8 +1031,7 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 2059579826550804567}
m_Children: []
m_Father: {fileID: 5361498673922154689}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -3025,177 +3026,3 @@ MonoBehaviour:
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u9000\u51FA"
--- !u!1001 &3449810240320754005
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 5361498674124843495}
m_Modifications:
- target: {fileID: 544928659607997383, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 544928659607997383, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 544928659607997383, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 544928659607997383, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 544928659607997383, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 544928659607997383, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_SizeDelta.x
value: 855
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_SizeDelta.y
value: 180
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4988315628286424150, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4988315628286424150, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4988315628286424150, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4988315628286424150, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4988315628286424150, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4988315628286424150, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5227984560148182127, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5227984560148182127, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5227984560148182127, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5227984560148182127, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5227984560148182127, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5227984560148182127, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8208978137248747371, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
propertyPath: m_Name
value: shanghaiInfo_black
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
--- !u!224 &2059579826550804567 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 3707914750899634434, guid: 1e100c9d59699cc4b88606a86dc03688, type: 3}
m_PrefabInstance: {fileID: 3449810240320754005}
m_PrefabAsset: {fileID: 0}

View File

@ -429,6 +429,8 @@ MonoBehaviour:
m_EditorClassIdentifier:
panel: {fileID: 1531406980403464475}
close: {fileID: 1206893118731475948}
shanghai: {fileID: 0}
shanghaiJiaobeng: {fileID: 0}
--- !u!1 &773093349700575190
GameObject:
m_ObjectHideFlags: 0
@ -3407,7 +3409,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1197153813601434686}
- {fileID: 6457019054538292454}
m_Father: {fileID: 2990683111798944232}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -3628,7 +3629,9 @@ MonoBehaviour:
toggle2: {fileID: 4533124664872313552}
tipsText: {fileID: 4931159036147832419}
jiangli: {fileID: 6130145704757712620}
jiangliJiaobeng: {fileID: 0}
shanghai: {fileID: 3672058253625160348}
shanghaiJiaobeng: {fileID: 0}
panel: {fileID: 1531406980403464475}
close: {fileID: 1611523547142466811}
--- !u!1 &6447564337535396723
@ -3833,7 +3836,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 3512060526186750275}
- {fileID: 5946663765484415992}
m_Father: {fileID: 7546179636844705041}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -4651,351 +4653,3 @@ MonoBehaviour:
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u83B7\u5F97\u5956\u52B1"
--- !u!1001 &7058235601034636026
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 6446013415379295601}
m_Modifications:
- target: {fileID: 544928659607997383, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 544928659607997383, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 544928659607997383, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_SizeDelta.x
value: 285
objectReference: {fileID: 0}
- target: {fileID: 544928659607997383, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_SizeDelta.y
value: 180
objectReference: {fileID: 0}
- target: {fileID: 544928659607997383, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchoredPosition.x
value: 142.5
objectReference: {fileID: 0}
- target: {fileID: 544928659607997383, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchoredPosition.y
value: -90
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_SizeDelta.x
value: 855
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_SizeDelta.y
value: 180
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchoredPosition.x
value: 540
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchoredPosition.y
value: -210
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4988315628286424150, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4988315628286424150, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4988315628286424150, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_SizeDelta.x
value: 285
objectReference: {fileID: 0}
- target: {fileID: 4988315628286424150, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_SizeDelta.y
value: 180
objectReference: {fileID: 0}
- target: {fileID: 4988315628286424150, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchoredPosition.x
value: 427.5
objectReference: {fileID: 0}
- target: {fileID: 4988315628286424150, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchoredPosition.y
value: -90
objectReference: {fileID: 0}
- target: {fileID: 5227984560148182127, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5227984560148182127, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5227984560148182127, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_SizeDelta.x
value: 285
objectReference: {fileID: 0}
- target: {fileID: 5227984560148182127, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_SizeDelta.y
value: 180
objectReference: {fileID: 0}
- target: {fileID: 5227984560148182127, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchoredPosition.x
value: 712.5
objectReference: {fileID: 0}
- target: {fileID: 5227984560148182127, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchoredPosition.y
value: -90
objectReference: {fileID: 0}
- target: {fileID: 8208978137248747371, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_Name
value: shanghaiInfo
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
--- !u!224 &5946663765484415992 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
m_PrefabInstance: {fileID: 7058235601034636026}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &7705333836047138276
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1528554777395831116}
m_Modifications:
- target: {fileID: 544928659607997383, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 544928659607997383, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 544928659607997383, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_SizeDelta.x
value: 285
objectReference: {fileID: 0}
- target: {fileID: 544928659607997383, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_SizeDelta.y
value: 180
objectReference: {fileID: 0}
- target: {fileID: 544928659607997383, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchoredPosition.x
value: 142.5
objectReference: {fileID: 0}
- target: {fileID: 544928659607997383, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchoredPosition.y
value: -90
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_SizeDelta.x
value: 855
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_SizeDelta.y
value: 180
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchoredPosition.x
value: 540
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchoredPosition.y
value: -210
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4988315628286424150, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4988315628286424150, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4988315628286424150, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_SizeDelta.x
value: 285
objectReference: {fileID: 0}
- target: {fileID: 4988315628286424150, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_SizeDelta.y
value: 180
objectReference: {fileID: 0}
- target: {fileID: 4988315628286424150, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchoredPosition.x
value: 427.5
objectReference: {fileID: 0}
- target: {fileID: 4988315628286424150, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchoredPosition.y
value: -90
objectReference: {fileID: 0}
- target: {fileID: 5227984560148182127, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5227984560148182127, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5227984560148182127, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_SizeDelta.x
value: 285
objectReference: {fileID: 0}
- target: {fileID: 5227984560148182127, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_SizeDelta.y
value: 180
objectReference: {fileID: 0}
- target: {fileID: 5227984560148182127, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchoredPosition.x
value: 712.5
objectReference: {fileID: 0}
- target: {fileID: 5227984560148182127, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_AnchoredPosition.y
value: -90
objectReference: {fileID: 0}
- target: {fileID: 8208978137248747371, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
propertyPath: m_Name
value: shanghaiInfo
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
--- !u!224 &6457019054538292454 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 3707914750899634434, guid: 0a0f95c5725f5234496d9c823376e0b5, type: 3}
m_PrefabInstance: {fileID: 7705333836047138276}
m_PrefabAsset: {fileID: 0}

View File

@ -145,15 +145,15 @@ RectTransform:
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_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 3737697091458713618}
m_RootOrder: 0
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_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4095607224810920107
CanvasRenderer:
@ -183,7 +183,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 0}
m_Sprite: {fileID: 21300000, guid: 492e5984b518a80458cf575c0b57335c, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1

View File

@ -1,14 +1,18 @@
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Beat_ZanTing:BaseUI
{
[Header("关闭按钮,关闭的面板")] public GameObject panel;
public StopBtn sBtn;
public GameObject prefab;
public GameObject prefabParent;
private async void Start()
{
await DamageStatistics();
await showPanel(_panel);
RegisterButton(BTNs[0], async () => {
@ -32,6 +36,16 @@ public class Beat_ZanTing:BaseUI
}
async Task DamageStatistics()
{
foreach (GameObject my in MengyaoInfo.Instance.mengyaoIdToRole.Values)
{
enemy myenemy = my.GetComponent<enemy>();
GameObject.Instantiate(prefab, prefabParent.transform).GetComponent<shanghaiInfo>().init(myenemy.MengyaoSprite, myenemy.HarmNumber.ToString(), myenemy.killNum.ToString());
}
}
private void OnDisable()
{
UnregisterAllButtons();

View File

@ -12,7 +12,7 @@ public class Challeng_Evictory : Base
{
Victory.SetActive(false);
failur.SetActive(false);
Show(true);
//Show(true);
}
/// <summary>
@ -21,18 +21,28 @@ public class Challeng_Evictory : Base
/// <param name="TorF">true为胜利false为失败</param>
public async void Show(bool TorF)
{
if (TorF)
{
await Init();
if (TorF)
{
Victory.SetActive(true);
await ButtonClickAnimationAsync(Victory,0.8f,0.6f);
}
else
{
}
else
{
failur.SetActive(true);
await ButtonClickAnimationAsync(failur, 0.8f, 0.6f);
}
}
}
async Task Init()
{
foreach (GameObject my in MengyaoInfo.Instance.mengyaoIdToRole.Values)
{
enemy myenemy = my.GetComponent<enemy>();
Victory.GetComponent<victoryPanel>().SetShangHaiItem(myenemy.MengyaoSprite, myenemy.HarmNumber.ToString(), myenemy.killNum.ToString());
failur.GetComponent<failurePanel>().SetShangHaiItem(myenemy.MengyaoSprite, myenemy.HarmNumber.ToString(), myenemy.killNum.ToString());
}
}
}

View File

@ -7,6 +7,8 @@ public class jiangli : MonoBehaviour
public GameObject prefab;
public GameObject prefabParent;
public void initInfo(Sprite _sprite, string number)
{
GameObject.Instantiate(prefab, prefabParent.transform).GetComponent<jiangliitem>().init(_sprite, number);

View File

@ -21,5 +21,7 @@ public class shanghaiInfo : MonoBehaviour
_image.sprite = _sprite;
Shanghai.text = shanghai;
Number.text = number;
//_image.SetNativeSize();
}
}

View File

@ -8,18 +8,21 @@ public class failurePanel : MonoBehaviour
[Header("关闭的面板")] public GameObject panel;
[Header("closeBTN")] public Button close;
[Header("伤害统计")] public GameObject shanghai;
[Header("脚本")] public shanghai shanghaiJiaobeng;
// Start is called before the first frame update
void Start()
{
shanghaiJiaobeng = shanghai.GetComponent<shanghai>();
close.onClick.AddListener(() =>
{
Destroy(panel.gameObject);
});
}
// Update is called once per frame
void Update()
public void SetShangHaiItem(Sprite _sprite, string shanghai, string number)
{
shanghaiJiaobeng.initInfo(_sprite, shanghai, number);
}
}

View File

@ -1,5 +1,6 @@
using System.Collections;
using System.Collections.Generic;
using Unity.VisualScripting;
using UnityEngine;
using UnityEngine.UI;
@ -10,7 +11,9 @@ public class victoryPanel : MonoBehaviour
[Header("提示字")] public Text tipsText;
[Header("物品奖励")] public GameObject jiangli;
[Header("½Å±¾")] public jiangli jiangliJiaobeng;
[Header("伤害统计")] public GameObject shanghai;
[Header("½Å±¾")] public shanghai shanghaiJiaobeng;
[Header("关闭的面板")] public GameObject panel;
@ -20,7 +23,9 @@ public class victoryPanel : MonoBehaviour
void Start()
{
shanghaiJiaobeng=shanghai.GetComponent<shanghai>();
jiangliJiaobeng = jiangli.GetComponent<jiangli>();
toggle1.onValueChanged.AddListener((isOn) =>
{
if (isOn)
@ -57,5 +62,14 @@ public class victoryPanel : MonoBehaviour
});
}
public void SetShangHaiItem(Sprite _sprite, string shanghai, string number)
{
shanghaiJiaobeng.initInfo(_sprite, shanghai, number);
}
public void SetJiangLiItem(Sprite _sprite, string number)
{
jiangliJiaobeng.initInfo(_sprite, number);
}
}