What object to I cast from in blueprint to blueprint casting?
What am I supposed to make the "object"? I've tried player controller and everything and it says it isn't inherited from there so it will always fail. I'm trying to just edit an integer from another widget inside this widget, is there a better way of doing this? Please help.
asked Feb 12 '17 at 05:30 PM in Blueprint Scripting
You need to find that other widget's reference(light blue). When you create the other widget using CreateWidget you have to send that reference to that widget. Create a variable in that widget that is a Screen widget reference(light blue) set it to editable and exposed on spawn. Then when you spawn that widget plugin the Screen widget to that. Now you can modify the Screen widget variable inside that widget.
answered Feb 13 '17 at 05:01 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here