Тёмный

UE4/UE5 - Como detectar el cambio de ventana C++ (Tutorial). 

S4NT1
Подписаться 7
Просмотров 16
50% 1

#unrealengine #ue4 #ue5 #ue4tutorial
Hola, hoy les voy a mostrar como hacer una función c++ que detecta cuando se pierde el foco de la ventana.
Algunos juegos al altabear estos se pausan.... o se minimizan*spoiler.
---------------------------------------------------------
h.
UFUNCTION(BlueprintCallable, BlueprintNativeEvent, meta = (DisplayName = "Focus Changed"), Category = "Focus")
void OnWindowFocusChanged(bool bIsFocused);
---------------------------------------------------------
cpp.
FSlateApplication::Get().OnApplicationActivationStateChanged()
.AddUObject(this, &APlayerControllerTest::OnWindowFocusChanged);
void APlayerControllerTest::OnWindowFocusChanged_Implementation(bool bIsFocused)
{
}
Capítulos:
00:00 Introducción
00:19 Creación de la función
01:30 Esperamos a que termine la Buil
02:08 Reinicio del moto
02:42 Configuración para probar la función

Игры

Опубликовано:

 

24 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
Stay on your way 🛤️✨
00:34
Просмотров 5 млн
Elden Ring DLC - ПОДОЖГЛО ПОПУ!
07:26
Просмотров 529 тыс.
Aprende a comunicarte en UE5 pt2 ( CAST)
10:03
Rebellion - The Skibidi Saga 11 (Part 1)
3:01
Просмотров 1,5 млн