ドキュメント

Unity Engine

Unity Engine

MarkDirtyRepaint()

Marks that the VisualElement requires a repaint.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public void MarkDirtyRepaint()

Remarks

Don't call this method when you change the styles or properties of built-in controls, as this is automatically called when necessary. However, you might need to call this method when your element has a custom VisualElement.generateVisualContent that needs to be triggered, such as after you change a custom style or property.