Actor lifecycle
Every AActor — GameMode, Pawn, a static prop, your custom gameplay actor — goes through the same
Every AActor — GameMode, Pawn, a static prop, your custom gameplay actor — goes through the same
Constructors initialize objects and allocate resources. Destructors clean up when objects are destroyed. Together they enable RAII (Resource Acquisition Is Initialization).