com.unity.dt.app-ui 0.5.1
Source docsNotes: processedReleased September 21, 2023
Unity Compatibility
Minimum Unity: 2021.3
Package Dependencies
- com.unity.modules.androidjni (1.0.0)
- com.unity.modules.physics (1.0.0)
- com.unity.modules.uielements (1.0.0)
✨ Features
- Added `selectedIndex` property to the `Picker` component to get or set the selected index for a single selection mode.
- Added a new `Enumerable` extension method called `GetFirst` to get the first item of an enumerable collection or a default value if the collection is empty.
- Added `isPrimaryActionDisabled` and `isSecondaryActionDisabled` properties to the `AlertDialog` component.
- Added styling for `AlertDialog` component semantic variants.
🔧 Bug Fixes
- Fixed the `Picker` component to avoid to select multiple items if the selection mode is set to `Single`.
- Fixed `Menu.CloseSubMenus` method to close sub-menus opened by `MenuItem` components contained inside `MenuSection` components.
- Fixed double click handling in `GridView` component.
📈 Improvements
- Changed the picking mode of the `DropdownItem` component to `Position` instead of `Ignore`.
