Finding A way Around Subwidgets Styles Not Being Exposed To Edit
In Unreal Widgets that are added as Sub Widgets usually have parts that are not visible In the main Widgets details panel when the subwidget is selected. This can be an issue If you want to alter values in a subwidget. For example I wanted the option to change a subwidgets buttons styles for its different states.
The reason this was can be a problem for the player is that the different states and their associated look are what communicate to the player the current interaction state of a button. It lets a player know which one they have selected, Which are disabled or enabled. If these aren't able to be set it can lead to confusion for the player.
The solution lead to some menus already using a subwidget needing it to be set back to default to use new changes.(ABOVE IMAGE)
To get around it being hidden I added Variables that would be exposed if the widget was a subwidget that are connected to the button in the subwidget. This is great as it left the option to change the hover color if I needed to in some menus.
Author: Krishnie Katie Naidoo
Posted on 12/01/2023
Comments
Post a Comment