This commit is contained in:
yulong 2024-10-28 19:31:24 +08:00
parent 9ada48a996
commit 3e03b0ee3a
11 changed files with 1334 additions and 286 deletions

View File

@ -13,6 +13,7 @@ GameObject:
- component: {fileID: 117189262902970689}
- component: {fileID: 4979577903660582703}
- component: {fileID: 1399729468017968744}
- component: {fileID: 4250281626495093301}
m_Layer: 0
m_Name: "\u70DF\u7BB1_\u65E0\u52A8\u753B (1)"
m_TagString: Box
@ -134,6 +135,18 @@ Rigidbody:
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 0
--- !u!114 &4250281626495093301
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1918721954697570452}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ef5411e111cb04441a761bc6cf9a1fc6, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &8394354781393860194
GameObject:
m_ObjectHideFlags: 0

View File

@ -1649,6 +1649,75 @@ SkinnedMeshRenderer:
m_CorrespondingSourceObject: {fileID: -1573408024702323732, guid: 4a0fa6ca7a7eaa04c9134d63238964d2, type: 3}
m_PrefabInstance: {fileID: 307375476}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &1683417857
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: fb7298f30cfa5ae4eaf512f471e507b5, type: 3}
propertyPath: m_LocalScale.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: fb7298f30cfa5ae4eaf512f471e507b5, type: 3}
propertyPath: m_LocalScale.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: fb7298f30cfa5ae4eaf512f471e507b5, type: 3}
propertyPath: m_LocalScale.z
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: fb7298f30cfa5ae4eaf512f471e507b5, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: fb7298f30cfa5ae4eaf512f471e507b5, type: 3}
propertyPath: m_LocalPosition.y
value: 2.46
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: fb7298f30cfa5ae4eaf512f471e507b5, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: fb7298f30cfa5ae4eaf512f471e507b5, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: fb7298f30cfa5ae4eaf512f471e507b5, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: fb7298f30cfa5ae4eaf512f471e507b5, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: fb7298f30cfa5ae4eaf512f471e507b5, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: fb7298f30cfa5ae4eaf512f471e507b5, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: fb7298f30cfa5ae4eaf512f471e507b5, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: fb7298f30cfa5ae4eaf512f471e507b5, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: fb7298f30cfa5ae4eaf512f471e507b5, type: 3}
propertyPath: m_Name
value: "\u5FEB\u6362\u7535\u6C601"
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: fb7298f30cfa5ae4eaf512f471e507b5, type: 3}
--- !u!1 &1711450413
GameObject:
m_ObjectHideFlags: 0
@ -2005,6 +2074,10 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -3887185075125053422, guid: 206dceef219955f49832ac9a4681a85a, type: 3}
propertyPath: m_Enabled
value: 1
objectReference: {fileID: 0}
- target: {fileID: -3887185075125053422, guid: 206dceef219955f49832ac9a4681a85a, type: 3}
propertyPath: m_DirtyAABB
value: 0
@ -2072,3 +2145,4 @@ SceneRoots:
- {fileID: 2144222318}
- {fileID: 1468853420}
- {fileID: 1991611935}
- {fileID: 1683417857}

View File

@ -5762,6 +5762,7 @@ MonoBehaviour:
firstbox: []
secondbox: []
speed: 5
BoxID: {fileID: 1918721954697570452, guid: 3c5c67ef5f8f1da40b4a0efd25da6d96, type: 3}
--- !u!114 &108631935
MonoBehaviour:
m_ObjectHideFlags: 0
@ -24166,11 +24167,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Size.z
value: 0.26762486
value: 0.20461154
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Enabled
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Center.x
@ -24182,7 +24183,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Center.z
value: 0.20404148
value: 0.23554814
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_IsTrigger
@ -36093,6 +36094,7 @@ MonoBehaviour:
UICoverremovalmachine: {fileID: 617481942}
boxbtn: {fileID: 1782092396}
status: 0
doubleClickTime: 0.3
--- !u!1 &798230193
GameObject:
m_ObjectHideFlags: 0
@ -54513,7 +54515,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Size.z
value: 0.3470912
value: 0.18967986
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Center.x
@ -54525,7 +54527,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Center.z
value: 0.17430687
value: 0.25301254
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_IsTrigger
@ -58570,7 +58572,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Size.z
value: 0.3818524
value: 0.21634912
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Center.x
@ -58582,7 +58584,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Center.z
value: 0.18335044
value: 0.26610208
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_IsTrigger
@ -64053,7 +64055,6 @@ Transform:
- {fileID: 1567759124}
- {fileID: 1739858987}
- {fileID: 1324142881}
- {fileID: 1790865727}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1413371327
@ -65410,7 +65411,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Size.z
value: 0.30616048
value: 0.21704179
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Center.x
@ -65422,7 +65423,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Center.z
value: 0.18841757
value: 0.23297691
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_IsTrigger
@ -68388,8 +68389,6 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 1523578799}
- component: {fileID: 1523578801}
- component: {fileID: 1523578800}
m_Layer: 0
m_Name: 8-37-2
m_TagString: Untagged
@ -68412,56 +68411,6 @@ Transform:
m_Children: []
m_Father: {fileID: 543450651877670947}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!23 &1523578800
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1523578798}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &1523578801
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1523578798}
m_Mesh: {fileID: -9123535487318109513, guid: 20cae80baf420364f85e9076858346c3, type: 3}
--- !u!1 &1523806068
GameObject:
m_ObjectHideFlags: 0
@ -72327,7 +72276,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Size.z
value: 0.33092827
value: 0.20656383
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Center.x
@ -72339,7 +72288,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Center.z
value: 0.17810833
value: 0.24029055
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_IsTrigger
@ -80083,111 +80032,6 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1790848023}
m_CullTransparentMesh: 1
--- !u!1 &1790865726
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1790865727}
- component: {fileID: 1790865730}
- component: {fileID: 1790865729}
- component: {fileID: 1790865728}
m_Layer: 0
m_Name: 0-0-0
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!4 &1790865727
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1790865726}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -18.61}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1408424522}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &1790865728
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1790865726}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 3
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!23 &1790865729
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1790865726}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &1790865730
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1790865726}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &1791832772
GameObject:
m_ObjectHideFlags: 0
@ -81731,6 +81575,67 @@ MeshFilter:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1812194013}
m_Mesh: {fileID: 2133373475792414330, guid: 20cae80baf420364f85e9076858346c3, type: 3}
--- !u!1001 &1812991769
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 117189262902970689, guid: 3c5c67ef5f8f1da40b4a0efd25da6d96, type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: c7b1effdb2765444da7b7a78a219cb4e, type: 2}
- target: {fileID: 1291261916664934958, guid: 3c5c67ef5f8f1da40b4a0efd25da6d96, type: 3}
propertyPath: m_LocalPosition.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 1291261916664934958, guid: 3c5c67ef5f8f1da40b4a0efd25da6d96, type: 3}
propertyPath: m_LocalPosition.y
value: 4.75
objectReference: {fileID: 0}
- target: {fileID: 1291261916664934958, guid: 3c5c67ef5f8f1da40b4a0efd25da6d96, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1291261916664934958, guid: 3c5c67ef5f8f1da40b4a0efd25da6d96, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1291261916664934958, guid: 3c5c67ef5f8f1da40b4a0efd25da6d96, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1291261916664934958, guid: 3c5c67ef5f8f1da40b4a0efd25da6d96, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1291261916664934958, guid: 3c5c67ef5f8f1da40b4a0efd25da6d96, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1291261916664934958, guid: 3c5c67ef5f8f1da40b4a0efd25da6d96, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1291261916664934958, guid: 3c5c67ef5f8f1da40b4a0efd25da6d96, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1291261916664934958, guid: 3c5c67ef5f8f1da40b4a0efd25da6d96, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1918721954697570452, guid: 3c5c67ef5f8f1da40b4a0efd25da6d96, type: 3}
propertyPath: m_Name
value: "\u70DF\u7BB1_\u65E0\u52A8\u753B (1)"
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 3c5c67ef5f8f1da40b4a0efd25da6d96, type: 3}
--- !u!1 &1814431761
GameObject:
m_ObjectHideFlags: 0
@ -88234,7 +88139,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Size.z
value: 0.29657435
value: 0.16984892
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Center.x
@ -88246,7 +88151,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Center.z
value: 0.18831646
value: 0.25167918
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_IsTrigger
@ -91028,7 +90933,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Size.z
value: 0.3396922
value: 0.22530144
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Center.x
@ -91040,7 +90945,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_Center.z
value: 0.19196276
value: 0.24915814
objectReference: {fileID: 0}
- target: {fileID: 6148073173889382962, guid: 266ce14b00e8a694eae7fcaa9f961a0a, type: 3}
propertyPath: m_IsTrigger
@ -91413,8 +91318,6 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 2027847628}
- component: {fileID: 2027847630}
- component: {fileID: 2027847629}
m_Layer: 0
m_Name: 8-37-1
m_TagString: Untagged
@ -91437,56 +91340,6 @@ Transform:
m_Children: []
m_Father: {fileID: 543450651877670947}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!23 &2027847629
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2027847627}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &2027847630
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2027847627}
m_Mesh: {fileID: 4821748142028716696, guid: 20cae80baf420364f85e9076858346c3, type: 3}
--- !u!1 &2028286645
GameObject:
m_ObjectHideFlags: 0
@ -148781,8 +148634,8 @@ BoxCollider:
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 3
m_Size: {x: 0.98206663, y: 1.2633667, z: 0.29231662}
m_Center: {x: 0.025216818, y: 0.0051078796, z: 0.20148689}
m_Size: {x: 0.98206663, y: 1.2633667, z: 0.23787224}
m_Center: {x: 0.025216818, y: 0.0051078796, z: 0.22870907}
--- !u!222 &8293918688537252195
CanvasRenderer:
m_ObjectHideFlags: 0
@ -153928,3 +153781,4 @@ SceneRoots:
- {fileID: 108631931}
- {fileID: 1291014530}
- {fileID: 796359296}
- {fileID: 1812991769}

File diff suppressed because it is too large Load Diff

22
Assets/Scripts/YL/CS.cs Normal file
View File

@ -0,0 +1,22 @@
using DefaultNamespace;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CS : MonoBehaviour
{
// Start is called before the first frame update
public GameObject BoxID;
void Start()
{
GameObject box = Instantiate(BoxID);
box.transform.SetParent(transform,false);
box.transform.localEulerAngles = new Vector3(90,0,0);
}
// Update is called once per frame
void Update()
{
}
}

View File

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

View File

@ -0,0 +1,72 @@
using DG.Tweening;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UIElements;
public class Detection : MonoBehaviour
{
private Collider triggerCollider;
private void Start()
{
triggerCollider = GetComponent<Collider>();
if (triggerCollider == null)
{
Debug.LogError("没有找到碰撞体!");
return;
}
}
private void Update()
{
// 检查触发器是否被禁用
if (!triggerCollider.enabled)
{
// 如果失活,启动协程
StartCoroutine(ActivateAfterDelay(15f));
}
//if (Input.GetMouseButtonDown(2))
//{
// transform.DOMoveY(transform.position.y + 0.4f, 1f).SetEase(Ease.InOutQuad).OnComplete(() =>
// {
// Collider collider = GetComponent<Collider>();
// if (collider)
// {
// collider.enabled = false;
// Debug.Log("失活了箱子触发器");
// transform.SetParent(null);
// }
// Debug.Log("卸箱动画向上提");
// transform.DOMoveY(transform.position.y - 0.4f, 1f).SetEase(Ease.InOutQuad).OnComplete(() =>
// {
// Debug.Log("卸箱动画向下提");
// });
// });
//}
}
private IEnumerator ActivateAfterDelay(float delay)
{
// 等待指定的时间
yield return new WaitForSeconds(delay);
// 激活触发器
triggerCollider.enabled = true;
//Debug.Log("触发器已激活!");
// 继续监测触发器状态
while (true)
{
// 检查是否仍然激活
if (!triggerCollider.enabled)
{
//Debug.Log("再次调用十五秒再调用");
// 如果再次失活,重启协程
StartCoroutine(ActivateAfterDelay(15f));
yield break; // 退出当前协程
}
yield return null; // 等待下一帧
}
}
}

View File

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

View File

@ -71,6 +71,7 @@ public class Fetchbox : MonoBehaviour
boxinformation.palletNum = shelfBoxModel.result[i].palletNum;
boxinformation.itemType = shelfBoxModel.result[i].itemType;
boxinformation.isSpecial = shelfBoxModel.result[i].isSpecial;
//if (shelfBoxModel.result[i].
boxinformationList.Add(boxinformation);
if (shelfBoxModel.result[i].layer.Equals(1))
{

View File

@ -4,7 +4,6 @@ using System;
using UnityEngine;
using UnityEngine.UI;
using static InterfaceManager;
using static UnityEditor.Timeline.Actions.MenuPriority;
/// <summary>
/// ÅжÏÏä×ÓµÄ״̬
/// </summary>
@ -141,12 +140,13 @@ public class Interaction : MonoBehaviour
if (hit.collider.gameObject.GetComponent<Boxinformation>())
{
Boxinformation boxinformation = hit.collider.gameObject.GetComponent<Boxinformation>();
if (boxinformation.itemType == "EmptyBox")
{
UIBoxdatapanel.Emptydata("¿ÕÏä×Ó");
}
//if (boxinformation.itemType == "EmptyBox")
//{
// UIBoxdatapanel.Emptydata("¿ÕÏä×Ó");
//}
//Debug.Log(boxinformation.locationId);
string url = Boxinformationface + boxinformation.locationId;
Debug.Log(url);
StartCoroutine(Post1(url, (data) =>
{
Debug.Log(data);
@ -154,11 +154,11 @@ public class Interaction : MonoBehaviour
// Debug.Log(cigaretteinformation.time);
for (int i = 0; i < cigaretteinformation.result.Count; i++)
{
if (cigaretteinformation.result[i].lineNum.Equals(10))
if (cigaretteinformation.result[i].lineNum.Equals(1))
{
UIBoxdatapanel.Getdata(cigaretteinformation.result[i].itemDesc, cigaretteinformation.result[i].batch, cigaretteinformation.result[i].palletNum, cigaretteinformation.result[i].weight);
};
if (cigaretteinformation.result[i].lineNum.Equals(20))
if (cigaretteinformation.result[i].lineNum.Equals(2))
{
UIBoxdatapanel.GetDragdown(cigaretteinformation.result[i].palletNum, cigaretteinformation.result[i].weight);
}

View File

@ -2,6 +2,7 @@ using DG.Tweening;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UIElements;
public class Loadingoperation : MonoBehaviour
{
@ -14,38 +15,45 @@ public class Loadingoperation : MonoBehaviour
if (other.gameObject.CompareTag("Box"))
{
Carinformation car = transform.GetComponent<Carinformation>();
Boxinformation boxinformation = other.gameObject.transform.GetComponent<Boxinformation>();
if (car && boxinformation)
Debug.Log("触发器上箱操作");
if (transform.childCount == 0)
{
boxinformation.ID = car.BoxCode;
}
float pos = other.transform.position.y + 0.3f;
other.transform.DOMoveY(pos, 0.3f).SetEase(Ease.InOutQuad);
other.transform.SetParent(transform);
if (other.gameObject != null)
{
// 获取触发器物体的碰撞体
Collider triggerCollider = GetComponent<Collider>();
// 确保触发器物体有碰撞体
if (triggerCollider != null)
Carinformation car = transform.GetComponent<Carinformation>();
Boxinformation boxinformation = other.gameObject.transform.GetComponent<Boxinformation>();
//if (car && boxinformation)
//{
// boxinformation.ID = car.BoxCode;
//}
//float pos = other.transform.position.y + 0.5f;
other.transform.DOMoveY(other.transform.position.y + 0.42f, 0.3f).SetEase(Ease.InOutQuad).OnComplete(() =>
{
// 计算触发器物体顶部的世界坐标
Vector3 triggerPosition = triggerCollider.bounds.center;
Vector3 triggerTop = triggerPosition + Vector3.up * (triggerCollider.bounds.extents.y + -0.2f);
if (other.gameObject != null)
{
// 获取触发器物体的碰撞体
Collider triggerCollider = GetComponent<Collider>();
// 设置物体的位置
other.transform.position = triggerTop;
}
else
{
Debug.LogError("触发器没有碰撞体");
}
}
else
{
Debug.LogError("没有获取到物体");
// 确保触发器物体有碰撞体
if (triggerCollider != null)
{
// 计算触发器物体顶部的世界坐标
Vector3 triggerPosition = triggerCollider.bounds.center;
Vector3 triggerTop = triggerPosition + Vector3.up * (triggerCollider.bounds.extents.y);
// 设置物体的位置
other.transform.position = triggerTop;
other.gameObject.transform.SetParent(transform);
}
else
{
Debug.LogError("触发器没有碰撞体");
}
}
else
{
Debug.LogError("没有获取到物体");
}
});
}
}
}