Back to API Reference
Interface
IObjProvider
abstract
Implements:INamedCatalog<InlineObject>
Resolves named InlineObject entries for ObjModifier.
Remarks
Marker interface over
INamedCatalog<TEntry> — exists to scope the [SerializeReference, TypeSelector] dropdown and to give a domain-specific name. Built-in implementations: InlineObjProvider, AssetObjProvider. Custom providers should raise their Changed event whenever their resolution result changes.Implementations(2)
Types that implement IObjProvider.
CC
AssetObjProvider
IObjProvider backed by an explicit UniTextObjects asset referenced on the modifier. Use this when multiple components should share the same inline-object catalog managed as a project asset.
InlineObjProvider
IObjProvider with an inline list of InlineObject entries edited directly on the modifier. Use this for one-off catalogs that don't deserve a dedicated asset and aren't shared across components.
