From 8d63525b1205180d050fbb1763884dc3eb5e6698 Mon Sep 17 00:00:00 2001 From: Joywayer Date: Wed, 29 Jul 2026 11:05:15 +0800 Subject: [PATCH] =?UTF-8?q?chore(scene):=20TestRoomA=20=E6=95=8C=E4=BA=BA?= =?UTF-8?q?=E6=84=9F=E7=9F=A5=E6=A7=BD=E6=94=B9=20Box=20=E5=9E=8B=E5=B9=B6?= =?UTF-8?q?=E9=85=8D=E5=B0=BA=E5=AF=B8=EF=BC=8C=E5=BE=AE=E8=B0=83=E7=89=A9?= =?UTF-8?q?=E4=BD=93=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit aggro/los 两个感知槽由点/圆改为 Box(type 7),offset y=0.31, 分别配 8.1x1.38 / 11.65x1.38;顺带清掉随 NavDriving 死代码移除的序列化残留字段。 Co-Authored-By: Claude Opus 5 (1M context) --- Assets/_Game/Scenes/Testings/TestRoomA.unity | 23 ++++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/Assets/_Game/Scenes/Testings/TestRoomA.unity b/Assets/_Game/Scenes/Testings/TestRoomA.unity index 031789ba..736a0ea2 100644 --- a/Assets/_Game/Scenes/Testings/TestRoomA.unity +++ b/Assets/_Game/Scenes/Testings/TestRoomA.unity @@ -4085,7 +4085,7 @@ Transform: m_GameObject: {fileID: 219555572} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -4.87, y: 0.31, z: 0} + m_LocalPosition: {x: -3.92, y: -0.19, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] @@ -5438,8 +5438,8 @@ MonoBehaviour: m_EditorClassIdentifier: _slots: - slotName: aggro - type: 0 - offset: {x: 0, y: 0} + type: 7 + offset: {x: 0, y: 0.31} gizmoColor: {r: 1, g: 0.6, b: 0.1, a: 1} isDisabled: 0 tickInterval: 0 @@ -5449,7 +5449,7 @@ MonoBehaviour: m_Bits: 512 fanAngle: 0 fanRayCount: 0 - boxSize: {x: 0, y: 0} + boxSize: {x: 8.1, y: 1.38} boxOffset: {x: 0, y: 0} losBlockMask: serializedVersion: 2 @@ -5464,8 +5464,8 @@ MonoBehaviour: serializedVersion: 2 m_Bits: 0 - slotName: los - type: 1 - offset: {x: 0, y: 0} + type: 7 + offset: {x: 0, y: 0.31} gizmoColor: {r: 0, g: 0.8, b: 1, a: 1} isDisabled: 0 tickInterval: 0 @@ -5475,7 +5475,7 @@ MonoBehaviour: m_Bits: 512 fanAngle: 0 fanRayCount: 0 - boxSize: {x: 0, y: 0} + boxSize: {x: 11.65, y: 1.38} boxOffset: {x: 0, y: 0} losBlockMask: serializedVersion: 2 @@ -5528,7 +5528,6 @@ MonoBehaviour: _dbg_IsWallAhead: 0 _dbg_IsLedgeAhead: 0 _dbg_IsTurning: 0 - _dbg_NavDriving: 0 _dbg_Input_MoveDir: 0 _dbg_Input_MoveSpeed: 0 _dbg_Input_WantStop: 0 @@ -5657,7 +5656,7 @@ Transform: m_GameObject: {fileID: 310446315} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -18, y: 2.01, z: 0} + m_LocalPosition: {x: -22.19, y: 2.21, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: @@ -211128,7 +211127,7 @@ Transform: m_GameObject: {fileID: 1731093353} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 4.48, y: 0.01, z: 0} + m_LocalPosition: {x: 3.63, y: -0.19, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] @@ -215493,11 +215492,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 8020630769765462792, guid: dadbcefa02b3d0f4ba27af93ff088166, type: 3} propertyPath: m_LocalPosition.x - value: -18.64 + value: -10.91 objectReference: {fileID: 0} - target: {fileID: 8020630769765462792, guid: dadbcefa02b3d0f4ba27af93ff088166, type: 3} propertyPath: m_LocalPosition.y - value: 8.68 + value: 7.63 objectReference: {fileID: 0} - target: {fileID: 8020630769765462792, guid: dadbcefa02b3d0f4ba27af93ff088166, type: 3} propertyPath: m_LocalPosition.z