How to get variable from blueprint class to level blueprint?
Hey I'm having trouble on what I should plug in to the "object" part of the node "Cast to WB_ProMainMenu" all I want to do is get the variable from the class. By the way this is the level blueprint. I included a picture.
asked Dec 12 '18 at 03:33 AM in Blueprint Scripting
Class is not a object, you need to create one or get one first. Considering it's Main menu i assume this is UMG widget? Then when you create the widget you get reference to it, is then of just throwing it away store it in variable, you also don't need to do casting at that point (as long as you set variable type correctly)
answered Dec 12 '18 at 11:18 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here