Even when creating a custom Editor you should consider using property drawers where possible, avoiding UI that doesn't use SerializedObject data. PropertyField (UI Toolkit • IMGUI) is the easiest way to draw a property in contexts like an Editor or EditorWindow, as it will respond to a property drawer without duplicated or embedded logic.