public OneLinePropertyDrawer() { simpleDrawer = new SimpleFieldDrawer(); fixedArrayDrawer = new FixedArrayDrawer(GetDrawer); dynamicArrayDrawer = new DynamicArrayDrawer(GetDrawer, InvalidateCache); customPropertyDrawer = new CustomDrawer(); directoryDrawer = new DirectoryDrawer(GetDrawer); rootDirectoryDrawer = new RootDirectoryDrawer(GetDrawer); ResetCache(); Undo.undoRedoPerformed += ResetCache; arraysSizeObserver = new ArraysSizeObserver(); }