Back to API Reference
Class
ObjModifier
sealed
Embeds UI prefabs (images, icons, custom elements) inline with text. The set of named inline objects available to <obj=name> tags is supplied by an IObjProvider.
Remarks
Parameter: the name of the object to embed — resolved through
Provider. Built-in providers: InlineObjProvider (default — inline list on the modifier), AssetObjProvider (shared UniTextObjects asset). For dynamic catalogs, implement IObjProvider directly and raise its Changed event when the resolution result changes.public IObjProvider Provider{ get; set }Source of named inline objects used by this modifier when resolving <obj=name> tags. disables resolution.
protected INamedCatalog<InlineObject> Catalog{ get }