feat: Enhance CameraZoneMigrationTool with rectilinear polygon reconstruction and fallback handling

- Implemented a new method for reconstructing rectilinear polygons from trigger points.
- Added a fallback mechanism using nearest neighbor ordering and 2-opt optimization for irregular shapes.
- Updated point sorting to ensure counter-clockwise orientation for polygon colliders.

fix: Suppress validation warnings during batch enemy placement in SceneObjectPlacerTool

- Introduced a static property in EnemyBase to suppress validation warnings during editor object placement.
- Updated SceneObjectPlacerTool to utilize this property when creating enemy game objects.

refactor: Clean up OnValidate method in EnemyBase to respect suppression flag

- Modified OnValidate to check for the suppression flag before logging warnings about missing configurations.
This commit is contained in:
2026-05-26 16:17:24 +08:00
parent 5a0f1548ea
commit 5ad6ed8ae6
5 changed files with 21876 additions and 20902 deletions

View File

@@ -12,14 +12,14 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: f7dd720bca19fcc49b22106fb65f7652, type: 3}
m_Name: ENM_E001_AnimConfig
m_EditorClassIdentifier:
Idle: {fileID: 0}
Walk: {fileID: 0}
Run: {fileID: 0}
Turn: {fileID: 0}
Idle: {fileID: 7400000, guid: 74d1c2f7f8e5c66409e9090885e7e007, type: 2}
Walk: {fileID: 7400000, guid: b6b9e34e957b9fa4b92e95aaa155099f, type: 2}
Run: {fileID: 7400000, guid: b6b9e34e957b9fa4b92e95aaa155099f, type: 2}
Turn: {fileID: 7400000, guid: c6d78c8270549254f8c777e0c5d4f9bf, type: 2}
Attack: {fileID: 0}
Hurt: {fileID: 0}
Hurt: {fileID: 7400000, guid: 9d5bb5bb32cdb344b80f01d998ed653f, type: 2}
Stagger: {fileID: 0}
KnockUp: {fileID: 0}
Dead: {fileID: 0}
Dead: {fileID: 7400000, guid: 7f07e13e67a5aba4b8a27234e5a84ee6, type: 2}
Alert: {fileID: 0}
Investigate: {fileID: 0}