I somehow need a trigger in my C++ code which fires when (in editor or standalone) the game stops (like “Begin Play” in blueprints, but when the game gets closed / in editor stopped). It doesn’t matter in which class (AHUD, AActor or whatever) it gets called, I need it to call a static method on a different class.
I hope my question is clear and somebody can push me into the right direction!
Thanks for reading.