UE5 C++ 44 - How To Create Event Dispatcher With C++? - Unreal Engine Tutorial CPP Delegate Callback

Опубликовано: 13 Октябрь 2024
на канале: Alex Quevillon [En]
5,991
161

To create an event dispatcher in C++ and make it accessible in Blueprint, you'll need to use the DECLARE_DYNAMIC_MULTICAST_DELEGATE macro and then add a BlueprintAssignable variable in your class.


Project Download: https://www.patreon.com/posts/unreal-...


Dynamic Delegates: https://docs.unrealengine.com/5.3/en-...


────────────────────────────────────────────────────
Playlist ►    • How To? - Unreal Engine 5 C++  
Poll C++ ► https://forms.gle/Hh64WpUK6kcgX6SC8
────────────────────────────────────────────────────
French Channel ► https://www.youtube.com/AlexQuevillon...
English Channel ► https://www.youtube.com/AlexQuevillon...
────────────────────────────────────────────────────
Discord ►   / discord  
Patreon (Project Files) ►   / alexquevillon  
YouTube Members ►    / @alexquevillonen  
────────────────────────────────────────────────────
Unreal Engine Version ► 5.2
────────────────────────────────────────────────────


0:00 Intro
0:18 Includes
1:15 Create singleton
4:49 Create helper functions
5:45 Create first event dispatcher
11:06 Create second event dispatcher
15:55 Create third event dispatcher
19:20 Test
24:52 Patreon Wall!


#UnrealEngine #UE5 #UE5Tutorial #UE4 #UE4Tutorial
UE5 C++ 44 - How To Create Event Dispatcher With C++? - Unreal Engine Tutorial CPP Delegate Callback Broadcast Bind