Back to API Reference
Class
ObjModifier
Embeds UI prefabs (images, icons, custom elements) inline with text.
Remarks
Parameter: the name of the object to embed (must match an entry in the
objects list). The modifier replaces placeholder text with instantiated prefabs positioned in the text flow. Objects are defined in the objects list and referenced by name in the tag parameter. All metrics are in em units (relative to fontSize). With width=1, height=1 the object will be fontSize x fontSize pixels, matching the size of a typical character.public StyledList<InlineObject> objects