diff --git a/Assets/Resources/Img/道路名.png b/Assets/Resources/Img/道路名.png index 0d6c5c5..7491317 100644 Binary files a/Assets/Resources/Img/道路名.png and b/Assets/Resources/Img/道路名.png differ diff --git a/Assets/Scenes/City.unity b/Assets/Scenes/City.unity index 1a6d8a8..1ce8941 100644 --- a/Assets/Scenes/City.unity +++ b/Assets/Scenes/City.unity @@ -1039,10 +1039,10 @@ Transform: m_GameObject: {fileID: 26664712} m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068} m_LocalPosition: {x: 22.1, y: 3.8, z: 492.6} - m_LocalScale: {x: 13.681, y: 8.494631, z: 189.88133} + m_LocalScale: {x: 13.681, y: 8.494631, z: 154.30707} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 10 + m_RootOrder: 11 m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} --- !u!114 &26664714 MonoBehaviour: @@ -1056,6 +1056,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &26664715 BoxCollider: m_ObjectHideFlags: 0 @@ -2608,7 +2610,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 75.854805} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 27 + m_RootOrder: 33 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &98760489 MonoBehaviour: @@ -2622,6 +2624,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 4 + roadName: "\u5357\u661F\u8DEF" --- !u!65 &98760490 BoxCollider: m_ObjectHideFlags: 0 @@ -5185,7 +5189,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 165.49261} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 15 + m_RootOrder: 18 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &196620356 MonoBehaviour: @@ -5199,6 +5203,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 3 + roadName: "\u4E1C\u65B9\u8DEF" --- !u!65 &196620357 BoxCollider: m_ObjectHideFlags: 0 @@ -5523,7 +5529,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 89.43458} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 41 + m_RootOrder: 47 m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} --- !u!114 &209366140 MonoBehaviour: @@ -5537,6 +5543,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &209366141 BoxCollider: m_ObjectHideFlags: 0 @@ -6423,6 +6431,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &237050366 BoxCollider: m_ObjectHideFlags: 0 @@ -7930,7 +7940,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 88.93533} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 20 + m_RootOrder: 24 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &288427046 MonoBehaviour: @@ -7944,6 +7954,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 3 + roadName: "\u4E91\u4E1C\u8DEF" --- !u!65 &288427047 BoxCollider: m_ObjectHideFlags: 0 @@ -10038,6 +10050,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &365218851 BoxCollider: m_ObjectHideFlags: 0 @@ -11322,10 +11336,10 @@ Transform: m_GameObject: {fileID: 417085369} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 1.4, y: 3.800003, z: 141.2} - m_LocalScale: {x: 13.681, y: 8.494631, z: 87.53173} + m_LocalScale: {x: 13.681, y: 8.494631, z: 53.62719} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 30 + m_RootOrder: 36 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &417085371 MonoBehaviour: @@ -11339,6 +11353,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 3 + roadName: "\u5357\u661F\u8DEF" --- !u!65 &417085372 BoxCollider: m_ObjectHideFlags: 0 @@ -11676,7 +11692,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 62.438866} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 43 + m_RootOrder: 49 m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} --- !u!114 &464769187 MonoBehaviour: @@ -11690,6 +11706,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &464769188 BoxCollider: m_ObjectHideFlags: 0 @@ -12363,11 +12381,11 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 501770108} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 1.2, y: 3.800003, z: 27.7} - m_LocalScale: {x: 13.681, y: 8.494631, z: 93.61582} + m_LocalPosition: {x: 1.2, y: 3.800003, z: 40.6} + m_LocalScale: {x: 13.681, y: 8.494631, z: 56.16762} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 28 + m_RootOrder: 34 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &501770110 MonoBehaviour: @@ -12381,6 +12399,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 4 + roadName: "\u5357\u661F\u8DEF" --- !u!65 &501770111 BoxCollider: m_ObjectHideFlags: 0 @@ -13282,7 +13302,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 103.5919} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 25 + m_RootOrder: 30 m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} --- !u!114 &534728698 MonoBehaviour: @@ -13296,6 +13316,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &534728699 BoxCollider: m_ObjectHideFlags: 0 @@ -13426,7 +13448,7 @@ MonoBehaviour: m_VerticalOverflow: 0 m_LineSpacing: 1 m_Text: " \u9053\u8DEF \u8F66\u8F86\u6D41\u91CF - \u62E5\u6324\u5EA6 \u4E8B\u6545\u68C0\u6D4B " + \u6D41\u901A\u7387 \u4E8B\u6545\u68C0\u6D4B " --- !u!222 &538213974 CanvasRenderer: m_ObjectHideFlags: 0 @@ -13679,7 +13701,7 @@ GameObject: - component: {fileID: 545598600} - component: {fileID: 545598599} m_Layer: 5 - m_Name: "\u5546\u4E1A\u4E00\u8DEF" + m_Name: "\u5546\u4E1A\u8DEF" m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -13774,11 +13796,11 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 550288878} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 100.7, y: 3.800003, z: 428.7} - m_LocalScale: {x: 13.681, y: 8.494631, z: 102.4463} + m_LocalPosition: {x: 100.7, y: 3.800003, z: 442.3} + m_LocalScale: {x: 13.681, y: 8.494631, z: 59.530518} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 36 + m_RootOrder: 42 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &550288880 MonoBehaviour: @@ -13792,6 +13814,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 3 + roadName: "\u5546\u4E1A\u8DEF" --- !u!65 &550288881 BoxCollider: m_ObjectHideFlags: 0 @@ -15226,7 +15250,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 87.53173} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 29 + m_RootOrder: 35 m_LocalEulerAnglesHint: {x: 2.7120001, y: 90.00001, z: 0} --- !u!114 &591868236 MonoBehaviour: @@ -15240,6 +15264,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &591868237 BoxCollider: m_ObjectHideFlags: 0 @@ -15324,7 +15350,7 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 595968183} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -308.68, y: 810.6, z: 0} + m_LocalPosition: {x: -312.9, y: 810.6, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 886090459} @@ -15610,7 +15636,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 113.34592} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 31 + m_RootOrder: 37 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &604307829 MonoBehaviour: @@ -15624,6 +15650,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &604307830 BoxCollider: m_ObjectHideFlags: 0 @@ -15795,7 +15823,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 89.23837} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 32 + m_RootOrder: 38 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &605747219 MonoBehaviour: @@ -15809,6 +15837,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 3 + roadName: "\u5357\u661F\u8DEF" --- !u!65 &605747220 BoxCollider: m_ObjectHideFlags: 0 @@ -16097,11 +16127,11 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 630532642} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 201.3, y: 3.800003, z: 238.3} - m_LocalScale: {x: 13.681, y: 8.494631, z: 89.43458} + m_LocalPosition: {x: 201.3, y: 3.800003, z: 240.8} + m_LocalScale: {x: 13.681, y: 8.494631, z: 59.306526} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 40 + m_RootOrder: 46 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &630532644 MonoBehaviour: @@ -16115,6 +16145,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 3 + roadName: "\u5317\u661F\u8DEF" --- !u!65 &630532645 BoxCollider: m_ObjectHideFlags: 0 @@ -16286,7 +16318,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 74.52795} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 6 + m_RootOrder: 7 m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} --- !u!114 &643057819 MonoBehaviour: @@ -16300,6 +16332,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 2 + roadName: "\u6587\u4E91\u8DEF" --- !u!65 &643057820 BoxCollider: m_ObjectHideFlags: 0 @@ -18229,7 +18263,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 83.67006} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 24 + m_RootOrder: 29 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &724028342 MonoBehaviour: @@ -18243,6 +18277,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 4 + roadName: "\u5317\u661F\u8DEF" --- !u!65 &724028343 BoxCollider: m_ObjectHideFlags: 0 @@ -19480,6 +19516,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &772015271 BoxCollider: m_ObjectHideFlags: 0 @@ -19902,7 +19940,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 149.94972} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 8 + m_RootOrder: 9 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &790798866 MonoBehaviour: @@ -19916,6 +19954,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 3 + roadName: "\u6587\u4E91\u8DEF" --- !u!65 &790798867 BoxCollider: m_ObjectHideFlags: 0 @@ -20605,11 +20645,11 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 813357736} m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068} - m_LocalPosition: {x: 143.5, y: 3.800003, z: 93.1} + m_LocalPosition: {x: 140.3, y: 3.800003, z: 92.6} m_LocalScale: {x: 13.681, y: 8.494631, z: 83.67006} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 22 + m_RootOrder: 27 m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} --- !u!114 &813357738 MonoBehaviour: @@ -20623,6 +20663,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &813357739 BoxCollider: m_ObjectHideFlags: 0 @@ -21185,7 +21227,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 89.43458} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 38 + m_RootOrder: 44 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &833895360 MonoBehaviour: @@ -21199,6 +21241,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &833895361 BoxCollider: m_ObjectHideFlags: 0 @@ -22188,11 +22232,11 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 872359532} m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068} - m_LocalPosition: {x: 251.6, y: 3.8, z: 492.6} - m_LocalScale: {x: 13.681, y: 8.494631, z: 38.908302} + m_LocalPosition: {x: 250.2, y: 3.8, z: 492.6} + m_LocalScale: {x: 13.681, y: 8.494631, z: 36.94437} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 12 + m_RootOrder: 13 m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} --- !u!114 &872359534 MonoBehaviour: @@ -22206,6 +22250,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &872359535 BoxCollider: m_ObjectHideFlags: 0 @@ -22609,7 +22655,7 @@ Transform: - {fileID: 1874726873} - {fileID: 225378088} - {fileID: 1950848507} - - {fileID: 1090238321} + - {fileID: 1813596130} - {fileID: 595968184} - {fileID: 2133317671} - {fileID: 759664196} @@ -22938,6 +22984,114 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 905735798} m_CullTransparentMesh: 0 +--- !u!1 &905901472 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 905901473} + - component: {fileID: 905901477} + - component: {fileID: 905901476} + - component: {fileID: 905901475} + - component: {fileID: 905901474} + m_Layer: 0 + m_Name: 3_0 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &905901473 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 905901472} + m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068} + m_LocalPosition: {x: 265.2, y: 3.800003, z: -208.1} + m_LocalScale: {x: 13.681, y: 8.494631, z: 19.638485} + m_Children: [] + m_Father: {fileID: 2029664563} + m_RootOrder: 23 + m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} +--- !u!114 &905901474 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 905901472} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} + m_Name: + m_EditorClassIdentifier: + type: 2 + roadName: "\u4E91\u4E1C\u8DEF" +--- !u!65 &905901475 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 905901472} + m_Material: {fileID: 0} + m_IsTrigger: 1 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &905901476 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 905901472} + m_Enabled: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + 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 +--- !u!33 &905901477 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 905901472} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &906340378 GameObject: m_ObjectHideFlags: 0 @@ -23711,7 +23865,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 70.92006} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 26 + m_RootOrder: 32 m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} --- !u!114 &944879436 MonoBehaviour: @@ -23725,6 +23879,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &944879437 BoxCollider: m_ObjectHideFlags: 0 @@ -24248,7 +24404,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 307.4419} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 16 + m_RootOrder: 19 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &970877668 MonoBehaviour: @@ -24262,6 +24418,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &970877669 BoxCollider: m_ObjectHideFlags: 0 @@ -24772,7 +24930,7 @@ GameObject: - component: {fileID: 1015555792} m_Layer: 0 m_Name: 1 - m_TagString: CarFlowChecker + m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 @@ -24803,6 +24961,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &1015555793 BoxCollider: m_ObjectHideFlags: 0 @@ -25163,6 +25323,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 1 + roadName: "\u4E91\u4E1C\u8DEF" --- !u!65 &1020029258 BoxCollider: m_ObjectHideFlags: 0 @@ -26072,7 +26234,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 157.3808} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 35 + m_RootOrder: 41 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &1062869262 MonoBehaviour: @@ -26086,6 +26248,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &1062869263 BoxCollider: m_ObjectHideFlags: 0 @@ -26399,6 +26563,114 @@ Transform: m_Father: {fileID: 31361708} m_RootOrder: 4 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1072714455 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1072714456} + - component: {fileID: 1072714460} + - component: {fileID: 1072714459} + - component: {fileID: 1072714458} + - component: {fileID: 1072714457} + m_Layer: 0 + m_Name: 8_0 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1072714456 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1072714455} + m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068} + m_LocalPosition: {x: 182, y: 3.800003, z: 92.6} + m_LocalScale: {x: 13.681, y: 8.494631, z: 5.628387} + m_Children: [] + m_Father: {fileID: 2029664563} + m_RootOrder: 26 + m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} +--- !u!114 &1072714457 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1072714455} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} + m_Name: + m_EditorClassIdentifier: + type: 2 + roadName: "\u52B3\u52A8\u8DEF" +--- !u!65 &1072714458 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1072714455} + m_Material: {fileID: 0} + m_IsTrigger: 1 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1072714459 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1072714455} + m_Enabled: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + 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 +--- !u!33 &1072714460 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1072714455} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &1074951710 GameObject: m_ObjectHideFlags: 0 @@ -27031,36 +27303,6 @@ MeshFilter: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1087572792} m_Mesh: {fileID: 4300000, guid: f29852b8e59ba2940bd825a4b9ada0d1, type: 3} ---- !u!1 &1090238320 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1090238321} - m_Layer: 0 - m_Name: p (9) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1090238321 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1090238320} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -326.68, y: 803.68, z: -0.31} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 886090459} - m_RootOrder: 9 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1092173166 GameObject: m_ObjectHideFlags: 0 @@ -28288,7 +28530,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 72.41282} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 44 + m_RootOrder: 50 m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} --- !u!114 &1145835065 MonoBehaviour: @@ -28302,6 +28544,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &1145835066 BoxCollider: m_ObjectHideFlags: 0 @@ -28497,8 +28741,9 @@ MonoBehaviour: carAllTxt: {fileID: 1276774439} dateTxt: {fileID: 1122844412} roadInfoCloseBtn: {fileID: 1234113757} - RoadInfo: {fileID: 2039817186} + roadInfoWnd: {fileID: 2039817186} colorTitle: {fileID: 1142851553} + roadInfoGroup: {fileID: 2042513963} date: --- !u!1 &1154643953 GameObject: @@ -31000,7 +31245,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 29.317503} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 14 + m_RootOrder: 17 m_LocalEulerAnglesHint: {x: -4.269, y: 125.11301, z: -0.120000005} --- !u!114 &1270119362 MonoBehaviour: @@ -31014,6 +31259,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &1270119363 BoxCollider: m_ObjectHideFlags: 0 @@ -31898,7 +32145,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 31.654926} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 18 + m_RootOrder: 21 m_LocalEulerAnglesHint: {x: 0, y: 36.313004, z: 0} --- !u!114 &1289453273 MonoBehaviour: @@ -31912,6 +32159,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &1289453274 BoxCollider: m_ObjectHideFlags: 0 @@ -33968,7 +34217,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 34.839294} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 9 + m_RootOrder: 10 m_LocalEulerAnglesHint: {x: 0, y: 222.06499, z: 0} --- !u!114 &1371595966 MonoBehaviour: @@ -33982,6 +34231,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &1371595967 BoxCollider: m_ObjectHideFlags: 0 @@ -34556,6 +34807,114 @@ Transform: m_Father: {fileID: 586302944} m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1389914810 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1389914811} + - component: {fileID: 1389914815} + - component: {fileID: 1389914814} + - component: {fileID: 1389914813} + - component: {fileID: 1389914812} + m_Layer: 0 + m_Name: "\u52B3\u52A8\u53F3\u8FDB" + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1389914811 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1389914810} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 101.5, y: 3.800003, z: -85.1} + m_LocalScale: {x: 13.681, y: 8.494631, z: 24.861662} + m_Children: [] + m_Father: {fileID: 2029664563} + m_RootOrder: 31 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1389914812 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1389914810} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} + m_Name: + m_EditorClassIdentifier: + type: 4 + roadName: "\u52B3\u52A8\u8DEF" +--- !u!65 &1389914813 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1389914810} + m_Material: {fileID: 0} + m_IsTrigger: 1 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1389914814 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1389914810} + m_Enabled: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + 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 +--- !u!33 &1389914815 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1389914810} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &1393376444 GameObject: m_ObjectHideFlags: 0 @@ -35307,10 +35666,10 @@ Transform: m_GameObject: {fileID: 1418274135} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 200.1, y: 3.800003, z: 137.7} - m_LocalScale: {x: 13.681, y: 8.494631, z: 89.43458} + m_LocalScale: {x: 13.681, y: 8.494631, z: 67.605385} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 42 + m_RootOrder: 48 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &1418274137 MonoBehaviour: @@ -35324,6 +35683,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 4 + roadName: "\u5317\u661F\u8DEF" --- !u!65 &1418274138 BoxCollider: m_ObjectHideFlags: 0 @@ -36249,7 +36610,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 69.22413} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 33 + m_RootOrder: 39 m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} --- !u!114 &1457003891 MonoBehaviour: @@ -36263,6 +36624,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &1457003892 BoxCollider: m_ObjectHideFlags: 0 @@ -37323,7 +37686,7 @@ Light: m_Type: 1 m_Shape: 0 m_Color: {r: 0.96389204, g: 0.9811321, b: 0.86543256, a: 1} - m_Intensity: 1.1 + m_Intensity: 1.41 m_Range: 10 m_SpotAngle: 30 m_InnerSpotAngle: 21.80208 @@ -38835,7 +39198,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 78.530716} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 39 + m_RootOrder: 45 m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} --- !u!114 &1571325500 MonoBehaviour: @@ -38849,6 +39212,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 1 + roadName: "\u4E1C\u65B9\u8DEF" --- !u!65 &1571325501 BoxCollider: m_ObjectHideFlags: 0 @@ -38909,6 +39274,114 @@ MeshFilter: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1571325498} m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1572859282 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1572859283} + - component: {fileID: 1572859287} + - component: {fileID: 1572859286} + - component: {fileID: 1572859285} + - component: {fileID: 1572859284} + m_Layer: 0 + m_Name: "\u4E91\u897F\u8DEF\u4E0B\u8FDB" + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1572859283 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1572859282} + m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068} + m_LocalPosition: {x: 216.5, y: 3.8, z: 492.6} + m_LocalScale: {x: 13.681, y: 8.494631, z: 7.5940166} + m_Children: [] + m_Father: {fileID: 2029664563} + m_RootOrder: 15 + m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} +--- !u!114 &1572859284 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1572859282} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} + m_Name: + m_EditorClassIdentifier: + type: 2 + roadName: "\u4E91\u897F\u8DEF" +--- !u!65 &1572859285 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1572859282} + m_Material: {fileID: 0} + m_IsTrigger: 1 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1572859286 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1572859282} + m_Enabled: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + 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 +--- !u!33 &1572859287 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1572859282} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &1574618700 GameObject: m_ObjectHideFlags: 0 @@ -39267,7 +39740,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 262.89465} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 7 + m_RootOrder: 8 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &1591816166 MonoBehaviour: @@ -39281,6 +39754,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &1591816167 BoxCollider: m_ObjectHideFlags: 0 @@ -41346,7 +41821,6 @@ RectTransform: - {fileID: 1153381225} - {fileID: 1807600895} - {fileID: 1221516049} - - {fileID: 1907857068} m_Father: {fileID: 0} m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -41726,11 +42200,11 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1658711247} m_LocalRotation: {x: 0.02823655, y: 0.70654285, z: -0.02823655, w: 0.70654285} - m_LocalPosition: {x: 56.3, y: 2.3, z: 194.19998} - m_LocalScale: {x: 13.681, y: 8.494631, z: 80.48562} + m_LocalPosition: {x: 53.5, y: 2.3, z: 192.4} + m_LocalScale: {x: 13.681, y: 8.494631, z: 62.344162} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 34 + m_RootOrder: 40 m_LocalEulerAnglesHint: {x: 4.577, y: 90.00001, z: 0} --- !u!114 &1658711249 MonoBehaviour: @@ -41744,6 +42218,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 1 + roadName: "\u5546\u4E1A\u8DEF" --- !u!65 &1658711250 BoxCollider: m_ObjectHideFlags: 0 @@ -42020,11 +42496,11 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1675832343} m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068} - m_LocalPosition: {x: 194, y: 3.800003, z: -208.1} - m_LocalScale: {x: 13.681, y: 8.494631, z: 146.35637} + m_LocalPosition: {x: 182.7, y: 3.800003, z: -208.1} + m_LocalScale: {x: 13.681, y: 8.494631, z: 121.48018} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 19 + m_RootOrder: 22 m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} --- !u!114 &1675832345 MonoBehaviour: @@ -42038,6 +42514,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &1675832346 BoxCollider: m_ObjectHideFlags: 0 @@ -42888,7 +43366,7 @@ GameObject: - component: {fileID: 1718922426} m_Layer: 0 m_Name: 4 - m_TagString: CarFlowChecker + m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 @@ -42905,7 +43383,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 118.926414} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 13 + m_RootOrder: 16 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &1718922426 MonoBehaviour: @@ -42919,6 +43397,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &1718922427 BoxCollider: m_ObjectHideFlags: 0 @@ -44245,7 +44725,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 79.50447} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 37 + m_RootOrder: 43 m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} --- !u!114 &1795318400 MonoBehaviour: @@ -44259,6 +44739,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &1795318401 BoxCollider: m_ObjectHideFlags: 0 @@ -44542,7 +45024,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 161.00812} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 17 + m_RootOrder: 20 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &1802512478 MonoBehaviour: @@ -44556,6 +45038,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 4 + roadName: "\u4E1C\u65B9\u8DEF" --- !u!65 &1802512479 BoxCollider: m_ObjectHideFlags: 0 @@ -44785,6 +45269,114 @@ MonoBehaviour: roadInfoBtn: {fileID: 1362522344} threeDcamera: {fileID: 1679184558} twoDcamera: {fileID: 1219901273} +--- !u!1 &1810029212 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1810029213} + - component: {fileID: 1810029217} + - component: {fileID: 1810029216} + - component: {fileID: 1810029215} + - component: {fileID: 1810029214} + m_Layer: 0 + m_Name: "\u4E91\u897F\u8DEF\u4E0A\u8FDB" + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1810029213 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1810029212} + m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068} + m_LocalPosition: {x: -69.19, y: 3.8, z: 492.6} + m_LocalScale: {x: 13.681, y: 8.494631, z: 7.362386} + m_Children: [] + m_Father: {fileID: 2029664563} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} +--- !u!114 &1810029214 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1810029212} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} + m_Name: + m_EditorClassIdentifier: + type: 1 + roadName: "\u4E91\u897F\u8DEF" +--- !u!65 &1810029215 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1810029212} + m_Material: {fileID: 0} + m_IsTrigger: 1 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1810029216 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1810029212} + m_Enabled: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + 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 +--- !u!33 &1810029217 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1810029212} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &1811003117 GameObject: m_ObjectHideFlags: 0 @@ -44897,6 +45489,36 @@ MeshFilter: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1811988565} m_Mesh: {fileID: 4300016, guid: b447496beaa49d94da96aaad369ad4b3, type: 3} +--- !u!1 &1813596129 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1813596130} + m_Layer: 0 + m_Name: p (9) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1813596130 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1813596129} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -327.23, y: 803.05, z: -0.21} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 886090459} + m_RootOrder: 9 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1814159343 GameObject: m_ObjectHideFlags: 0 @@ -46120,7 +46742,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 174.84233} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 5 + m_RootOrder: 6 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &1865129359 MonoBehaviour: @@ -46134,6 +46756,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 4 + roadName: "\u6587\u4E91\u8DEF" --- !u!65 &1865129360 BoxCollider: m_ObjectHideFlags: 0 @@ -46458,7 +47082,7 @@ GameObject: - component: {fileID: 1876361528} - component: {fileID: 1876361527} m_Layer: 5 - m_Name: Scroll View (1) + m_Name: ScrollView m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -47635,41 +48259,6 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1907550876} m_CullTransparentMesh: 0 ---- !u!1 &1907857067 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1907857068} - m_Layer: 5 - m_Name: GameObject - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1907857068 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1907857067} - 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_Children: [] - m_Father: {fileID: 1652530331} - m_RootOrder: 3 - 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: 100, y: 100} - m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &1908508913 GameObject: m_ObjectHideFlags: 0 @@ -47813,7 +48402,7 @@ GameObject: - component: {fileID: 1909981739} - component: {fileID: 1909981738} m_Layer: 5 - m_Name: "\u5546\u4E1A\u4E8C\u8DEF" + m_Name: "\u52B3\u52A8\u8DEF" m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -48048,6 +48637,114 @@ Camera: m_OcclusionCulling: 1 m_StereoConvergence: 10 m_StereoSeparation: 0.022 +--- !u!1 &1920437265 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1920437266} + - component: {fileID: 1920437270} + - component: {fileID: 1920437269} + - component: {fileID: 1920437268} + - component: {fileID: 1920437267} + m_Layer: 0 + m_Name: "\u4E91\u897F\u8DEF\u53F3\u8FDB" + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1920437266 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1920437265} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 101.3, y: 3.8, z: 471.6} + m_LocalScale: {x: 13.681, y: 8.494631, z: 3.4961762} + m_Children: [] + m_Father: {fileID: 2029664563} + m_RootOrder: 14 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1920437267 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1920437265} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} + m_Name: + m_EditorClassIdentifier: + type: 4 + roadName: "\u4E91\u897F\u8DEF" +--- !u!65 &1920437268 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1920437265} + m_Material: {fileID: 0} + m_IsTrigger: 1 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1920437269 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1920437265} + m_Enabled: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + 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 +--- !u!33 &1920437270 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1920437265} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &1925457585 GameObject: m_ObjectHideFlags: 0 @@ -49143,7 +49840,7 @@ Transform: m_LocalScale: {x: 13.681, y: 8.494631, z: 83.67006} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 23 + m_RootOrder: 28 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &1964702278 MonoBehaviour: @@ -49157,6 +49854,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &1964702279 BoxCollider: m_ObjectHideFlags: 0 @@ -50429,6 +51128,7 @@ Transform: - {fileID: 772015269} - {fileID: 237050364} - {fileID: 365218849} + - {fileID: 1810029213} - {fileID: 1865129358} - {fileID: 643057818} - {fileID: 1591816165} @@ -50437,6 +51137,8 @@ Transform: - {fileID: 26664713} - {fileID: 2033854244} - {fileID: 872359533} + - {fileID: 1920437266} + - {fileID: 1572859283} - {fileID: 1718922425} - {fileID: 1270119361} - {fileID: 196620355} @@ -50444,12 +51146,15 @@ Transform: - {fileID: 1802512477} - {fileID: 1289453272} - {fileID: 1675832344} + - {fileID: 905901473} - {fileID: 288427045} - {fileID: 2090345689} + - {fileID: 1072714456} - {fileID: 813357737} - {fileID: 1964702277} - {fileID: 724028341} - {fileID: 534728697} + - {fileID: 1389914811} - {fileID: 944879435} - {fileID: 98760488} - {fileID: 501770109} @@ -50673,11 +51378,11 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2033854243} m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068} - m_LocalPosition: {x: 175.8, y: 3.8, z: 492.6} - m_LocalScale: {x: 13.681, y: 8.494631, z: 105.81804} + m_LocalPosition: {x: 162.8, y: 3.8, z: 492.6} + m_LocalScale: {x: 13.681, y: 8.494631, z: 86.221596} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 11 + m_RootOrder: 12 m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} --- !u!114 &2033854245 MonoBehaviour: @@ -50691,6 +51396,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &2033854246 BoxCollider: m_ObjectHideFlags: 0 @@ -51746,7 +52453,7 @@ GameObject: - component: {fileID: 2060441614} - component: {fileID: 2060441613} m_Layer: 5 - m_Name: "\u4E1C\u65B9\u7EA2\u8DEF" + m_Name: "\u4E1C\u65B9\u8DEF" m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -52518,11 +53225,11 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2090345688} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 101.6, y: 3.800003, z: -8.4} - m_LocalScale: {x: 13.681, y: 8.494631, z: 152.05273} + m_LocalPosition: {x: 101.6, y: 3.800003, z: -8.3} + m_LocalScale: {x: 13.681, y: 8.494631, z: 129.94005} m_Children: [] m_Father: {fileID: 2029664563} - m_RootOrder: 21 + m_RootOrder: 25 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &2090345690 MonoBehaviour: @@ -52536,6 +53243,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e1afb7a4e1bc72c4fad34d4d597f7000, type: 3} m_Name: m_EditorClassIdentifier: + type: 0 + roadName: --- !u!65 &2090345691 BoxCollider: m_ObjectHideFlags: 0 diff --git a/Assets/Script/Const.cs b/Assets/Script/Const.cs index 0d4cb4d..e921568 100644 --- a/Assets/Script/Const.cs +++ b/Assets/Script/Const.cs @@ -17,7 +17,7 @@ public static class Const public static float RefreshCarminTime = 0.25f; public static float RefreshCarmaxTime = 0.5f; - public static int RoadCheckNumber = 5; + public static int RoadCheckNumber = 7; /// /// 索引法随机 diff --git a/Assets/Script/GameRoot.cs b/Assets/Script/GameRoot.cs index 0635504..ce0af57 100644 --- a/Assets/Script/GameRoot.cs +++ b/Assets/Script/GameRoot.cs @@ -41,6 +41,8 @@ public class GameRoot : MonoBehaviour private void Start() { StartCoroutine(carSys.RandomTimeCreat()); + + } private void Update() diff --git a/Assets/Script/Tool/RoadChecker.cs b/Assets/Script/Tool/RoadChecker.cs index ca8141f..61db8dd 100644 --- a/Assets/Script/Tool/RoadChecker.cs +++ b/Assets/Script/Tool/RoadChecker.cs @@ -7,14 +7,86 @@ using UnityEngine; /// public class RoadChecker : MonoBehaviour { - + public enum CheckerDirType + { + None=0, + Up, + Down, + Left, + Right + + } + + public CheckerDirType type = CheckerDirType.None; + public string roadName = ""; + private RoadInfo info = null; + + private void Start() + { + if (roadName != null) + { + info= GameRoot.Instance.infoWnd.GetRoadInfo(roadName); + + } + } private void OnTriggerEnter(Collider other) { if (other.gameObject.tag == "Car") { GameRoot.Instance.roadSys.SetCheckerValue(this.gameObject.name,1); - // Debug.Log(this.gameObject.name+"+1"); + if (roadName != "") + { + Vector3 carDir = other.transform.forward.normalized; + float dot = Vector3.Dot(carDir,this.transform.forward.normalized); + switch (type) + { + case CheckerDirType.Up: + if (dot >= 0) + { + info.carFlow += 1; + } + else + { + info.carFlow -= 1; + } + break; + case CheckerDirType.Down: + if (dot >= 0) + { + info.carFlow -= 1; + } + else + { + info.carFlow += 1; + } + break; + case CheckerDirType.Left: + if (dot >= 0) + { + info.carFlow -= 1; + } + else + { + info.carFlow += 1; + } + break; + case CheckerDirType.Right: + if (dot >= 0) + { + info.carFlow += 1; + } + else + { + info.carFlow -= 1; + } + break; + } + + info.flowRate =Mathf.Lerp(0f,100f,( 1f - info.carFlow/98f)); + GameRoot.Instance.infoWnd.UpdateRoadDict(roadName); + + } } } @@ -23,7 +95,8 @@ public class RoadChecker : MonoBehaviour if (other.gameObject.tag == "Car") { GameRoot.Instance.roadSys.SetCheckerValue(this.gameObject.name, -1); - // Debug.Log(this.gameObject.name + "-1"); + + } } diff --git a/Assets/Script/Window/InfoWnd.cs b/Assets/Script/Window/InfoWnd.cs index 461a093..6e937a8 100644 --- a/Assets/Script/Window/InfoWnd.cs +++ b/Assets/Script/Window/InfoWnd.cs @@ -14,8 +14,9 @@ public class InfoWnd : MonoBehaviour public Button roadInfoCloseBtn; //路况检测窗口 - public GameObject RoadInfoWnd; + public GameObject roadInfoWnd; public GameObject colorTitle; + public Transform roadInfoGroup; public string date; @@ -24,7 +25,7 @@ public class InfoWnd : MonoBehaviour public void Init() { - if (RoadInfoWnd.activeSelf) + if (roadInfoWnd.activeSelf) { SetRoadInfoActive(false); } @@ -36,23 +37,44 @@ public class InfoWnd : MonoBehaviour //初始化路况字典 private void InitRoadDict() { - GameObject roadGroup= GameObject.FindGameObjectWithTag("RoadInfoGroup"); - for (int i = 0; i < roadGroup.transform.childCount; i++) + + for (int i = 0; i < roadInfoGroup.childCount; i++) { RoadInfo info = new RoadInfo(); - info.roadName = roadGroup.transform.GetChild(i).name; - info.flowRate = 80; - info.carFlow = UnityEngine.Random.Range(15, 35); + Text txt = roadInfoGroup.transform.GetChild(i).GetComponent(); + info.roadName = roadInfoGroup.transform.GetChild(i).name; + info.flowRate = 100; + info.carFlow = 0; info.Iswarning = false; + txt.text = string.Format(" ▶ "+"{0:G}"+" "+"{1:G}"+" "+ "{2:00.00}"+ "%"+" "+ "{3:G}", info.roadName,info.carFlow,info.flowRate,info.Iswarning?"是":"否"); + Road_Dict.Add(info.roadName, info); } } + //更新路况信息方法 + public void UpdateRoadDict(string roadName) + { + RoadInfo info = null; + if(Road_Dict.TryGetValue(roadName,out info)) + { + Text txt= roadInfoGroup.Find(roadName).GetComponent(); + txt.text = string.Format(" ▶ " + "{0:G}" + " " + "{1:G}" + " " + "{2:00.00}" + "%" + " " + "{3:G}", info.roadName, info.carFlow, info.flowRate, info.Iswarning ? "是" : "否"); + } + + } + + //TODo - public void UpdateRoadDict() + public RoadInfo GetRoadInfo(string roadName) { - + RoadInfo info = new RoadInfo(); + if(Road_Dict.TryGetValue(roadName, out info)) + { + return info; + } + return null; } public void SetCarInText(int Addvalue) @@ -102,6 +124,8 @@ public class InfoWnd : MonoBehaviour public void SetRoadInfoActive(bool t) { - RoadInfoWnd.SetActive(t); + roadInfoWnd.SetActive(t); } + + } diff --git a/Assets/Tsds1.cs b/Assets/Tsds1.cs new file mode 100644 index 0000000..26cb2a4 --- /dev/null +++ b/Assets/Tsds1.cs @@ -0,0 +1,25 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class Tsds1 : MonoBehaviour +{ + public Transform cleft; + public Transform cright; + public Transform checker; + // Start is called before the first frame update + void Start() + { + Vector3 rightDir = cright.transform.forward.normalized; + Vector3 leftDir = cleft.transform.forward.normalized; + Debug.Log(Vector3.Dot(rightDir, checker.forward.normalized)); + Debug.Log(Vector3.Dot(leftDir, checker.forward.normalized)); + + } + + // Update is called once per frame + void Update() + { + + } +} diff --git a/Map2D_PS/map2_流光通道.psd b/Map2D_PS/map2_流光通道.psd index 477adcc..f6fd793 100644 Binary files a/Map2D_PS/map2_流光通道.psd and b/Map2D_PS/map2_流光通道.psd differ