(Feat) Add MainMenu

This commit is contained in:
2026-07-28 14:10:17 +02:00
parent ed7c7fd991
commit 175bef228c
33 changed files with 2331 additions and 12 deletions
@@ -21,6 +21,11 @@ UScreenFadeComponent::UScreenFadeComponent()
// pour une valeur qui ne bouge qu'une seconde par mort serait du gaspillage.
PrimaryComponentTick.bCanEverTick = true;
PrimaryComponentTick.bStartWithTickEnabled = false;
// Le fondu doit continuer d'avancer quand le monde est fige : c'est le seul
// moyen de partir au noir depuis le menu de pause. Sans ce drapeau, l'ecran
// resterait bloque a mi-chemin et le delegue ne se declencherait jamais.
PrimaryComponentTick.bTickEvenWhenPaused = true;
}
void UScreenFadeComponent::BeginPlay()