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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user