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: name[,size][,offset][,advance][,lineHeightAbove][,lineHeightBelow][,pivot][,rotation] — the name resolves through Provider. The hierarchy is provider entry → keyed override → default parameters → tag attribute. Size, offset, advance, and line space use em units; pivot is normalized and rotation uses degrees. 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.
protected INamedCatalog<InlineObject> Catalog{ get }
protected override bool HasRenderable()
protected override void ConfigureWrapper()

See Also