Version: 2022.3

EditorWindow.wantsLessLayoutEvents

切换到手册
public bool wantsLessLayoutEvents ;

描述

Specifies whether a layout pass is performed before all user events (for example, EventType.MouseDown or [[EventType, KeyDown]]), or is only performed before repaint events.

When set to true, a layout pass is only performed before repaint events. When set to false, a layout pass is performed before any user event.