Inheritance for Data Assets

Do Data Assets support inheritance? Not in the “class inheritance” sense, but just in terms of the data they contain. For example, let’s say I want to use Data Assets to hold configuration values for enemies in my game. I’d like to have a base enemy type, then specializations that add or override data on the base enemy type.

Something like this

Enemy_Base_Definition       (HP = 5)
    Enemy_Foo               (Faction = Foo, Inherit HP)
        Enemy_Foo_Caster    (Mesh = Foo_Caster, Override HP = 3, Inherit Faction)

Can this be done with Data Assets, or is there another tool that would be more appropriate?

1 Like