chore(scene): TestRoomA 敌人感知槽改 Box 型并配尺寸,微调物体位置

aggro/los 两个感知槽由点/圆改为 Box(type 7),offset y=0.31,
分别配 8.1x1.38 / 11.65x1.38;顺带清掉随 NavDriving 死代码移除的序列化残留字段。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-29 11:05:15 +08:00
co-authored by Claude Opus 5
parent f3c17de223
commit 8d63525b12
+11 -12
View File
@@ -4085,7 +4085,7 @@ Transform:
m_GameObject: {fileID: 219555572} m_GameObject: {fileID: 219555572}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 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_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
@@ -5438,8 +5438,8 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
_slots: _slots:
- slotName: aggro - slotName: aggro
type: 0 type: 7
offset: {x: 0, y: 0} offset: {x: 0, y: 0.31}
gizmoColor: {r: 1, g: 0.6, b: 0.1, a: 1} gizmoColor: {r: 1, g: 0.6, b: 0.1, a: 1}
isDisabled: 0 isDisabled: 0
tickInterval: 0 tickInterval: 0
@@ -5449,7 +5449,7 @@ MonoBehaviour:
m_Bits: 512 m_Bits: 512
fanAngle: 0 fanAngle: 0
fanRayCount: 0 fanRayCount: 0
boxSize: {x: 0, y: 0} boxSize: {x: 8.1, y: 1.38}
boxOffset: {x: 0, y: 0} boxOffset: {x: 0, y: 0}
losBlockMask: losBlockMask:
serializedVersion: 2 serializedVersion: 2
@@ -5464,8 +5464,8 @@ MonoBehaviour:
serializedVersion: 2 serializedVersion: 2
m_Bits: 0 m_Bits: 0
- slotName: los - slotName: los
type: 1 type: 7
offset: {x: 0, y: 0} offset: {x: 0, y: 0.31}
gizmoColor: {r: 0, g: 0.8, b: 1, a: 1} gizmoColor: {r: 0, g: 0.8, b: 1, a: 1}
isDisabled: 0 isDisabled: 0
tickInterval: 0 tickInterval: 0
@@ -5475,7 +5475,7 @@ MonoBehaviour:
m_Bits: 512 m_Bits: 512
fanAngle: 0 fanAngle: 0
fanRayCount: 0 fanRayCount: 0
boxSize: {x: 0, y: 0} boxSize: {x: 11.65, y: 1.38}
boxOffset: {x: 0, y: 0} boxOffset: {x: 0, y: 0}
losBlockMask: losBlockMask:
serializedVersion: 2 serializedVersion: 2
@@ -5528,7 +5528,6 @@ MonoBehaviour:
_dbg_IsWallAhead: 0 _dbg_IsWallAhead: 0
_dbg_IsLedgeAhead: 0 _dbg_IsLedgeAhead: 0
_dbg_IsTurning: 0 _dbg_IsTurning: 0
_dbg_NavDriving: 0
_dbg_Input_MoveDir: 0 _dbg_Input_MoveDir: 0
_dbg_Input_MoveSpeed: 0 _dbg_Input_MoveSpeed: 0
_dbg_Input_WantStop: 0 _dbg_Input_WantStop: 0
@@ -5657,7 +5656,7 @@ Transform:
m_GameObject: {fileID: 310446315} m_GameObject: {fileID: 310446315}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 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_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
@@ -211128,7 +211127,7 @@ Transform:
m_GameObject: {fileID: 1731093353} m_GameObject: {fileID: 1731093353}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 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_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
@@ -215493,11 +215492,11 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8020630769765462792, guid: dadbcefa02b3d0f4ba27af93ff088166, type: 3} - target: {fileID: 8020630769765462792, guid: dadbcefa02b3d0f4ba27af93ff088166, type: 3}
propertyPath: m_LocalPosition.x propertyPath: m_LocalPosition.x
value: -18.64 value: -10.91
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8020630769765462792, guid: dadbcefa02b3d0f4ba27af93ff088166, type: 3} - target: {fileID: 8020630769765462792, guid: dadbcefa02b3d0f4ba27af93ff088166, type: 3}
propertyPath: m_LocalPosition.y propertyPath: m_LocalPosition.y
value: 8.68 value: 7.63
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8020630769765462792, guid: dadbcefa02b3d0f4ba27af93ff088166, type: 3} - target: {fileID: 8020630769765462792, guid: dadbcefa02b3d0f4ba27af93ff088166, type: 3}
propertyPath: m_LocalPosition.z propertyPath: m_LocalPosition.z