add documentation

This commit is contained in:
Alexander Borisov
2026-04-08 20:58:30 +03:00
parent 31826bd4e0
commit 1681e44c5e
11 changed files with 240 additions and 0 deletions
@@ -5,6 +5,9 @@ using UnityEngine;
namespace VoxelWorldScene
{
/// <summary>
/// Combines the world generator's current stream target with scene spawn anchors into one interest feed for nav coverage.
/// </summary>
public sealed class SceneWorldInterestReader : IWorldInterestReader
{
private readonly VoxelWorldGenerator worldGenerator;
@@ -16,8 +19,14 @@ namespace VoxelWorldScene
this.worldGenerator = worldGenerator;
}
/// <summary>
/// Mirrors the generator's interest version so downstream systems can invalidate cached plans when scene interest changes.
/// </summary>
public int InterestVersion => worldGenerator != null ? worldGenerator.InterestVersion : 0;
/// <summary>
/// Appends both dynamic actor interest and static spawn-anchor interest into the supplied list.
/// </summary>
public void GetInterestPoints(List<WorldInterestPoint> results)
{
if (results == null)