Unreal vs. Unity: Actors & Components, Inheritance & Composition

Unreal, Unity, and Godot have some similar design patterns, but there are a few things that set UE4 apart. We’ll look at the range of Actor and ActorComponent classes available in Unreal, and we’ll explore a few different ways to put them together. Sample project: 00:00 - Introduction 00:48 - Basic game object construction in Unity, Godot, Unreal 02:51 - Common concepts: Game World, Game Object, Component 03:33 - Components in Unreal: UActorComponent, USceneComponent, UPrimitiveComponent 05:36 - Game objects in Unreal: AActor 06:20 - Actor history: monolithic actors in UE2, component refactor in UE3 06:53 - Actor inheritance and subtyping, in addition to ActorComponent inheritance 07:40 - When to use Actor vs ActorComponent 08:18 - Example: First-person interaction via base class, interface, or component 10:27 - The case for plain old Objects 12:07 - Conclusion Patreon: Twitter: #UnrealEngine #UE4 #programming
Back to Top