MarkDirtyText()
Marks that the TextElement forces a layout and repaint.
阅读时间1 分钟最后更新于 1 个月前
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.