Understanding the gameplay framework base classes
Unreal Engine provides gameplay framework base classes for developers so that they can use and inherit from these base classes to create their new game-specific classes. Before utilizing the base classes, you need to understand the definitions of these classes as well as the relationships between them. The following class diagram will give you an overall view of the classes and the inheritance relationships:
Figure 5.2 – UE5 gameplay framework classes diagram
From the diagram, you can see the following:
UObject
is the ancestor class of all the remaining classesAActor
is the base class that is inherited by three groups of subclasses including the game actor (APawn
), game information (AInfo
), and player controller (AController
) subclassesUActorComponent
is the base class for all the component classesUGameInstance
is a globally unique game instance manager class that can be extended...