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