Developer_Bastian

Unreal Engine - OnDataTableChanged example

Jan 10th, 2024 (edited)
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.49 KB | Gaming | 0 0
  1. // Developer Bastian © 2024
  2. // License Creative Commons DEED 4.0 (https://creativecommons.org/licenses/by-sa/4.0/deed.en)
  3. // Tutorial video at https://youtu.be/le4VYlJXASg
  4. // Part of an Unreal Basics video tutorial series at: https://bit.ly/Unreal_Basics_en
  5.  
  6.  
  7. // this->ConnectionsDT = UDataTable
  8. this->ConnectionsDT->OnDataTableChanged().AddUObject(this, &ABA_DataLoader::OnReload);
  9.  
  10. ...
  11.  
  12. // Function to be called, must return void
  13. YourClass::Reload()
  14. {
  15.     // Process updated DataTable
  16. }
  17.  
  18.  
Add Comment
Please, Sign In to add comment