Files
TheDeclineOfWarriors/Assets/Scripts/VoxelWorld/VoxelWorldSpawnAnchor.cs
T
Alexander Borisov 1681e44c5e add documentation
2026-04-08 20:58:33 +03:00

19 lines
603 B
C#

using UnityEngine;
namespace VoxelWorldScene
{
[DisallowMultipleComponent]
/// <summary>
/// Marks a scene transform that should contribute interest before players move so spawn areas can be prewarmed for nav coverage.
/// </summary>
public sealed class VoxelWorldSpawnAnchor : MonoBehaviour
{
[SerializeField, Min(0.01f)] private float priority = 2f;
/// <summary>
/// Relative importance of this anchor when coverage planning competes between multiple spawn-related interests.
/// </summary>
public float Priority => priority;
}
}