Serializable spawner subsystem that wraps a factory reference with variant selection and data override support. Provides a convenient, Inspector-configurable entry point for spawning factorable objects with customized data.
Architecture
Spawn Flow
Key Concepts
Concept
Description
Factory reference
The IScriptableFactory<TObject, TData> that actually creates objects
Variant index
Selects which data variant to use from the factory's variant system
Data override
Per-spawner field overrides applied on top of the selected variant
Baked data
Cached TData instance combining variant + overrides, reused across spawns