Im diving a bit into UMG with C++. Until now I created all the widget logic with blueprints in the widget graph.
Now I want to do things more in C++.
I created a widget code class extending UUserWidget and added some variables (as UPROPERTYs) to it.
Then I created a widget to work with in the designer and reparented it to the code widget class.
So far, so good. I can see all the C++ variables and functions in the designer graph.
But how can I access the various components I set up in the designer?
In the designer I add a textbox.
In the code class I have a C++ function: SetValue(float Value);
In the implementation of the SetValue function, how do I access the textbox?
Since the BP widget class inherits from the code class, the code class cant know about the textbox, right?
Any help is appreciated