Search Unity

Question Inspector ordering of properties from an abstract class

Discussion in 'Editor Workflows' started by vallis_unity, Apr 11, 2023.

  1. vallis_unity

    vallis_unity

    Joined:
    Apr 14, 2022
    Posts:
    73
    By default properties defined on an abstract base class appear first in the inspector, with the properties on the actual class following afterwards. Is there a simple way to flip this around (with something like Odin's PropertyOrder attribute https://odininspector.com/tutorials/using-attributes/changing-the-order-of-properties) and make the properties on the abstract class appear after the derived classes without resorting to a custom inspector?