Question about unpause in C++
I have an action bind for pause/unpause in my character class that calls
in my player controller
in my player controller tick
it ticks once, and that's it
it pauses the game fine, but cannot unpause
asked Apr 20 '19 at 05:08 PM in C++ Programming
Is your action binding actually getting called when the game is paused? (add a breakpoint or stick in a UE_LOG to check).
If it's not then try binding using something like this instead (replace method names and InputComponent as needed)
You could also write this as something like:
(Code written from memory, may not be completely correct).
Note the bExecuteWhenPaused flag being set to true.
answered Apr 24 '19 at 09:55 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here