Back to API Reference
Class
UniTextDocumentLoader
sealed
Inherits:MonoBehaviour
Loads a DocumentSource into a UniTextBase — on enable, whenever the source, any of its settings or the text changes, and on Reload — and hands the document over with ownership, so the text disposes it when it is replaced or destroyed. Inside a ScrollRect or under a mask the document scrolls and windows itself.
public UniTextBase Text{ get; set }public DocumentSource Source{ get; set }