How do I cast from one UI widget to another UI?
Title is self explanatory... I looked it up already and I got the following:
But it doesn't work
P.S if I put this on an event tick in the event graph, same result... The text still won't display my value from the other UI widget
asked Mar 09 '19 at 12:43 AM in Blueprint Scripting
Not sure if I understand your setup. You do get all but don't specify an index which leads me to believe there is only one woodclicker widget. Get all nodes are very heavy and quite often unnecessary. I think you would have more luck with a variable text and use set text
Are you trying to update a text in your woodclicker widget?
As for referencing, you can use the node "get user widget object" as a valid reference instead.
Maybe this will help. I show you how to reference one widget from another widget. It is a viewport widget and a 3D widget component on an actor.
If that doesn't help check out video #25 about creating references. Towards the end I specifically discuss a widget reference but the other means of creating references may also be helpful.
answered Mar 09 '19 at 01:54 AM
Nebula Games Inc
Follow this question
Once you sign in you will be able to subscribe for any updates here