Unity-Technologies / ui-toolkit-manual-code-examples

Unity UI Toolkit documentation code examples
455 stars 78 forks source link

Display #14

Open bmarant opened 1 year ago

bmarant commented 1 year ago

On the tabs we do the .unselectedContent with display: none, but we never reactivate the display when switching, I went ahead and added a content.style.display = DisplayStyle.Flex on it to show the content on the SelectedTab.