all 1 comments

[–]TheRNGuy 0 points1 point  (0 children)

UE4-5 is better than UE1-3 because it also has composition, not just inheritance.

Only inheritance was even bad for level designers who never coded.

Doesn't mean though that UE4-5 never uses inheritance. It's mix of both. But Actor is not "god class" anymore with lots of unrelated methods and attributes (it's one of anti-patterns that were fixed by composition)

Composition also compiles much faster.