Back to API Reference
Enum
TextOverrideSource
Possible sources of a runtime override on top of the serialized Text — i.e. reasons the rendered text may diverge from what is stored in the scene or prefab. Flags may combine (e.g. SetText | Resolver when SetText assigned a runtime buffer and a resolver further substitutes that buffer's content).
public static readonly TextOverrideSource None = 0No override — RenderedText equals RawText equals the serialized text field.
public static readonly TextOverrideSource SetText = 1 << 0One of the SetText overloads on UniTextBase assigned a runtime source, so RawText diverges from the serialized Text field.
public static readonly TextOverrideSource Resolver = 1 << 1An attached IUniTextResolver returned a substitute from TryResolve on the last rebuild, so RenderedText is the resolver's output rather than RawText.
