Back to API Reference
Class
MediaWrapper
abstract
Manages one inline-flowed RectTransform and its presentation.
Derived Types(2)
Types that inherit from MediaWrapper.
CC
ObjectMediaWrapper
Clones UI prefabs or tracks one scene object's position without changing its hierarchy or presentation.
SpriteImageWrapper
Wrapper that creates a single-Image GameObject on demand, for an InlineObjectModifier<TEntry, TWrapper, TOverride> that places sprites as child objects rather than mesh glyphs.
Creates the underlying instance RectTransform (and any sibling components). Return false to abort creation — e.g. the renderable payload is missing.
Applies per-frame visual state (sprite, tint, etc.) to instance and its children. Called after the transform has been positioned and sized. No-op for wrappers whose payload is fully owned by an instantiated prefab.
Optional hook called after Destroy tears down the instance, for subclass state reset.
public RectTransform instancepublic UniTextBase ownerpublic Vector2 anchoredPositionpublic Vector2 sizeDeltapublic Vector2 pivot