(Feat) Add MainMenu
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user