UniText Documentation
Industrial-grade Unicode text engine for Unity. Complete API reference, guides, and examples for building world-class text rendering.
Quick Links
Key Features
150+ Languages
Arabic, Hebrew, Hindi, Thai, CJK, and every other Unicode script. One component, automatic font fallback
Full BiDi
Mixed LTR/RTL with numbers and punctuation renders correctly (UAX #9)
Native Color Emoji
ZWJ sequences, skin tones, flags via system fonts. Zero extra build size
SDF & MSDF Rendering
Curve-based Burst-compiled rasterization. Shared Texture2DArray atlas with adaptive tile sizes, reference counting, and LRU eviction
Font Families
CSS §5.2 weight matching, variable font axes (wght, wdth, ital, slnt, opsz), three-tier resolution: variable axes → static faces → synthesis
Effects
Outline and shadow via multi-pass SDF. <outline> <shadow> tags with color, dilate, offset, softness
Extensible Markup
30+ modifier presets, Markdown (**bold**, *italic*), custom parse rules, shared configurations
Interactive Text
Clickable/hoverable regions with typed events and highlight system
Word Segmentation
Dictionary-based word breaking for Thai, Lao, Khmer, Myanmar
UniTextWorld
3D text without Canvas — full pipeline via MeshRenderer
Zstd Compression
~2.7x smaller builds for Latin/Arabic, ~1.3x for CJK
Editor UX
Style selector with ~30 presets, font family inspector, glyph picker, atlas preview
API by Category
View all typesComponents
22 typesText components and their entry points
Markup
60 typesMarkup parsing, parse rules and text ranges
Modifiers
127 typesModifiers, styles and style presets
Paint
42 typesFills, gradients, glow, shadows and other paint layers
Animation
55 typesAnimated modifiers, reveal handlers and Animator integration
Fonts
25 typesFonts, faces, glyphs and atlases
Layout
51 typesShaping, line layout, alignment and hit testing
Editing
78 typesInput behaviors, filters, validation and text documents
Selection
31 typesSelection, caret, touch handles and context menus
Interaction
46 typesLinks, gestures, range actions and pointer-driven ranges
Media
22 typesInline sprites, objects and their providers
Clipboard
19 typesCopy and paste adapters, clipboard formats and schemas
Emoji
3 typesColor emoji fonts
Platform
24 typesNative input, IME and clipboard backends
Utilities
13 typesAttributes, Unicode data and helpers
