UnrealScripterAI
Discord ↗
Link Copied to Clipboard
×
"game mode"
#include "MyGameMode.h" #include "MyPlayerController.h" // Sets default values AMyGameMode::AMyGameMode() { // Set the player controller class PlayerControllerClass = AMyPlayerController::StaticClass(); } // Called when the game starts void AMyGameMode::BeginPlay() { Super::BeginPlay(); } // Called every frame void AMyGameMode::Tick(float DeltaTime) { Super::Tick(DeltaTime); }