MarkDirtyText()
Marks that the TextElement forces a layout and repaint.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public void MarkDirtyText()
Remarks
Call this method if you modify assets that influence text generation at runtime, such as a FontAsset.