摄像机区域的架构改动

This commit is contained in:
2026-05-15 14:47:24 +08:00
parent 1b37297585
commit f264329751
3591 changed files with 1687228 additions and 446503 deletions

View File

@@ -0,0 +1,18 @@
using UnityEngine;
namespace BaseGames.World
{
/// <summary>
/// CollectibleSpawner 的 Prefab 配置 SO。
/// 挂 MonoBehaviour 包装以便在 Awake 时向静态 CollectibleSpawner 注册。
/// 挂在 Persistent 场景的 [World] GameObject 上。
/// </summary>
public class CollectibleSpawnerConfig : MonoBehaviour
{
[Header("掉落物 Prefab")]
[SerializeField] internal GameObject LingZhuPrefab;
[SerializeField] internal GameObject ItemPrefab;
private void Awake() => CollectibleSpawner.Register(this);
}
}