기술 자료

Unity Engine

Unity Engine

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 trigger a repaint when a change occurs that requires a repaint such as when using VisualElement.generateVisualContent to render a mesh and the mesh data has now changed.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public void MarkDirtyRepaint()