UserWidget never Ticks
I defined a tick function in my custom widget as so:
then in the cpp this is what I want tick to do:
However the tick function is never being called. What do I need to do to make it tick?
asked Mar 07 '15 at 04:08 PM in C++ Programming
In short override the Tick_Implementation method and use the parameter list defined for the Tick method. You are currently using another signature as in my current 4.7.2 headers.
Put this in your header:
and this in your cpp file:
You have to use the method with the _Implementation postfix because Tick is defined as BlueprintNativeEvent. That means it is handled by the UnrealHeaderTool and code is generated to link the calls correctly if you're generating an dervided blueprint class.
Content of Engine Code (UserWidget.h)
Have a nice Day!
answered Mar 15 '15 at 05:09 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here