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:
@@ -45,5 +45,11 @@ namespace BaseGames.World
|
||||
/// 用于非流式冷启动路径(如游戏初始化、快速传送落地)。
|
||||
/// </summary>
|
||||
IEnumerator LoadAndActivateRoomCoroutine(string roomId, SpawnContext context);
|
||||
|
||||
/// <summary>
|
||||
/// 获取指定房间的当前流式状态。
|
||||
/// 若房间不在流式系统中(未加载或 ID 不存在),返回 <see cref="RoomState.Unloaded"/>。
|
||||
/// </summary>
|
||||
RoomState GetRoomState(string roomId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user