I have created a UMG menu widget ‘UMGMenu’.
I added ‘UMGMenu’ to ‘MyCharacter’ as a component ‘MainMenu’.
One of the commands I created in ‘UMGMenu’ is Close Menu, which should result in toggling the visibility of ‘MainMenu’.
I can call GetPlayerController from ‘UMGMenu’ but…
How do I access its ‘MainMenu’ component in order to toggle its visibility?
Thanks
Do you mean as a 3D widget? In MyCharacter, from your widget component drag out and create a "Get User Widget ", you can then cast that to your UMGMenu
HI
You need to Bind it unless it is a 3D widget.