[4.6.1] UMG Frontend, C++ Backend
I was hoping I could design the user interface with UMG, but have most of the logic for events in C++ as opposed to blueprint. Is there a decent tutorial/source somewhere for this?
I have tried this tutorial with 4.6.1 and it results in errors coming from the UE4 API for when I extend UUserWidget. https://wiki.unrealengine.com/UMG,_How_to_extend_a_UUserWidget::_for_UMG_in_C%2B%2B.
EDIT: The wiki entry is correct, my issue was putting the Runtime/UMG includes in my [ProjectName].cpp file instead of where they should have resided in the [ProjectName].h. Thank you both I appreciate your patience!
Hey there, if you mean you want to extend events like Tick and OnKeyDown, then you can easily :)
All the BlueprintNativeEvent functions in the UUserWidget can be overrided as long as you override the generated c++ functions themselves, ie : _Implementation.
Let me know if you have any problems with this.
answered Dec 22 '14 at 12:26 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here