Add enemy respawner and related components for room lifecycle management

- Implemented EnemyRespawner to manage enemy spawning and respawning within rooms.
- Added IRoomLifecycle interface for room activation and dormancy handling.
- Created supporting classes and metadata for enemy perception and threat assessment.
- Established streaming system components for room state management and transitions.
- Added necessary metadata files for new scripts to ensure proper integration with Unity.
This commit is contained in:
2026-05-23 21:23:09 +08:00
parent a1b4e629aa
commit 520f84999b
34 changed files with 1710 additions and 63 deletions

View File

@@ -24,7 +24,7 @@ namespace BaseGames.Enemies.AI
public override void OnAwake()
{
_boss = GetComponent<BossBase>();
_executor = GetComponentInChildren<BossSkillExecutor>();
_executor = transform.GetComponentInChildren<BossSkillExecutor>();
}
public override TaskStatus OnUpdate()