This commit is contained in:
舒荣森 2024-11-27 18:57:29 +08:00
parent edff3aff3b
commit c70044b084
2 changed files with 316 additions and 7 deletions

View File

@ -2311,6 +2311,11 @@ RectTransform:
m_AnchoredPosition: {x: 71, y: 36} m_AnchoredPosition: {x: 71, y: 36}
m_SizeDelta: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0.5} m_Pivot: {x: 0, y: 0.5}
--- !u!224 &178345081 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
m_PrefabInstance: {fileID: 327976027}
m_PrefabAsset: {fileID: 0}
--- !u!1 &179144104 --- !u!1 &179144104
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -3279,6 +3284,11 @@ RectTransform:
m_CorrespondingSourceObject: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3} m_CorrespondingSourceObject: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
m_PrefabInstance: {fileID: 8461295688629484331} m_PrefabInstance: {fileID: 8461295688629484331}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
--- !u!224 &287674963 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
m_PrefabInstance: {fileID: 814048069}
m_PrefabAsset: {fileID: 0}
--- !u!1 &293843507 --- !u!1 &293843507
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -3695,6 +3705,103 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 315160060} m_GameObject: {fileID: 315160060}
m_CullTransparentMesh: 1 m_CullTransparentMesh: 1
--- !u!1001 &327976027
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 366308368}
m_Modifications:
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_RootOrder
value: 4
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_SizeDelta.x
value: 100
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_SizeDelta.y
value: 100
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_AnchoredPosition.x
value: -167
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_AnchoredPosition.y
value: -334
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162796, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_Name
value: Image (4)
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
--- !u!1 &328936952 --- !u!1 &328936952
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -4745,6 +4852,9 @@ RectTransform:
- {fileID: 284654792} - {fileID: 284654792}
- {fileID: 1580090759} - {fileID: 1580090759}
- {fileID: 1680910172} - {fileID: 1680910172}
- {fileID: 2105063212}
- {fileID: 178345081}
- {fileID: 287674963}
m_Father: {fileID: 475168857} m_Father: {fileID: 475168857}
m_RootOrder: 3 m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -5692,7 +5802,7 @@ MonoBehaviour:
- {fileID: 21300000, guid: 2eef400844839c5449beeefe4f46e352, type: 3} - {fileID: 21300000, guid: 2eef400844839c5449beeefe4f46e352, type: 3}
startingPoint: {fileID: 1966002263} startingPoint: {fileID: 1966002263}
end: {fileID: 879993540} end: {fileID: 879993540}
is_victory: 1 is_victory: 0
is_die: 0 is_die: 0
--- !u!61 &435022347 --- !u!61 &435022347
BoxCollider2D: BoxCollider2D:
@ -6762,7 +6872,7 @@ MonoBehaviour:
- {fileID: 21300000, guid: 2eef400844839c5449beeefe4f46e352, type: 3} - {fileID: 21300000, guid: 2eef400844839c5449beeefe4f46e352, type: 3}
startingPoint: {fileID: 1363431408} startingPoint: {fileID: 1363431408}
end: {fileID: 869027439} end: {fileID: 869027439}
is_victory: 0 is_victory: 1
is_die: 0 is_die: 0
--- !u!61 &540447345 --- !u!61 &540447345
BoxCollider2D: BoxCollider2D:
@ -8847,6 +8957,103 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 811726604} m_GameObject: {fileID: 811726604}
m_CullTransparentMesh: 1 m_CullTransparentMesh: 1
--- !u!1001 &814048069
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 366308368}
m_Modifications:
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_RootOrder
value: 5
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_SizeDelta.x
value: 100
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_SizeDelta.y
value: 100
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_AnchoredPosition.x
value: -167
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_AnchoredPosition.y
value: -527
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162796, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_Name
value: Image (5)
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
--- !u!1 &816281460 --- !u!1 &816281460
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -9838,7 +10045,7 @@ MonoBehaviour:
- {fileID: 21300000, guid: 2eef400844839c5449beeefe4f46e352, type: 3} - {fileID: 21300000, guid: 2eef400844839c5449beeefe4f46e352, type: 3}
startingPoint: {fileID: 1852265332} startingPoint: {fileID: 1852265332}
end: {fileID: 130002006} end: {fileID: 130002006}
is_victory: 1 is_victory: 0
is_die: 0 is_die: 0
--- !u!61 &890850302 --- !u!61 &890850302
BoxCollider2D: BoxCollider2D:
@ -11211,7 +11418,7 @@ MonoBehaviour:
- {fileID: 21300000, guid: 2eef400844839c5449beeefe4f46e352, type: 3} - {fileID: 21300000, guid: 2eef400844839c5449beeefe4f46e352, type: 3}
startingPoint: {fileID: 238215576} startingPoint: {fileID: 238215576}
end: {fileID: 1291160958} end: {fileID: 1291160958}
is_victory: 0 is_victory: 1
is_die: 0 is_die: 0
--- !u!61 &1039706607 --- !u!61 &1039706607
BoxCollider2D: BoxCollider2D:
@ -12630,7 +12837,7 @@ MonoBehaviour:
- {fileID: 21300000, guid: 2eef400844839c5449beeefe4f46e352, type: 3} - {fileID: 21300000, guid: 2eef400844839c5449beeefe4f46e352, type: 3}
startingPoint: {fileID: 2137823193} startingPoint: {fileID: 2137823193}
end: {fileID: 302264171} end: {fileID: 302264171}
is_victory: 0 is_victory: 1
is_die: 0 is_die: 0
--- !u!61 &1112535303 --- !u!61 &1112535303
BoxCollider2D: BoxCollider2D:
@ -18615,7 +18822,7 @@ MonoBehaviour:
- {fileID: 21300000, guid: 2eef400844839c5449beeefe4f46e352, type: 3} - {fileID: 21300000, guid: 2eef400844839c5449beeefe4f46e352, type: 3}
startingPoint: {fileID: 1812578927} startingPoint: {fileID: 1812578927}
end: {fileID: 1418546006} end: {fileID: 1418546006}
is_victory: 1 is_victory: 0
is_die: 0 is_die: 0
--- !u!61 &1591901238 --- !u!61 &1591901238
BoxCollider2D: BoxCollider2D:
@ -23088,6 +23295,103 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1936380313} m_GameObject: {fileID: 1936380313}
m_CullTransparentMesh: 1 m_CullTransparentMesh: 1
--- !u!1001 &1946384137
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 366308368}
m_Modifications:
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_RootOrder
value: 3
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_SizeDelta.x
value: 100
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_SizeDelta.y
value: 100
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_AnchoredPosition.x
value: -167
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_AnchoredPosition.y
value: -125
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8461295688368162796, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
propertyPath: m_Name
value: Image (3)
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
--- !u!1 &1951101552 --- !u!1 &1951101552
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -24472,6 +24776,11 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2094513875} m_GameObject: {fileID: 2094513875}
m_CullTransparentMesh: 1 m_CullTransparentMesh: 1
--- !u!224 &2105063212 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 8461295688368162787, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
m_PrefabInstance: {fileID: 1946384137}
m_PrefabAsset: {fileID: 0}
--- !u!1 &2117390733 --- !u!1 &2117390733
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -54,7 +54,7 @@ public class snailRider : MonoBehaviour
} }
Sequence mySequence = DOTween.Sequence(); Sequence mySequence = DOTween.Sequence();
mySequence.Append(transform.DOMove(startingPoint.transform.position, 0.01f)) mySequence.Append(transform.DOMove(startingPoint.transform.position, 0.01f))
.Append(transform.DOMove(end.transform.position, 5f + suiji)) .Append(transform.DOMove(end.transform.position, 10f + suiji))
; ;
} }
} }