MarkDirtyRepaint()
Triggers a repaint of the VisualElement on the next frame. This method is called internally when a change occurs that requires a repaint, such as when UIElements. BaseField<TValueType>.value is changed or the text in a Label. If you are implementing a custom control, you can call this method to
阅读时间1 分钟最后更新于 1 天前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public void MarkDirtyRepaint()