Releases: CoderGamester/Unity-UiService
Releases · CoderGamester/Unity-UiService
Release 0.8.0
What's Changed
- Added new PresenterDelayerBase, AnimationDelayer and TimeDelayer to support presenters that open/close with a delay
- Added new DelayUiPresenter to interact with PresenterDelayerBase implementations and allow presenters to open/close with a delay
- Improved performance of UiService
*Changed:
- Removed AnimatedUiPresenter. Use the new DelayUiPresenter with one of the PresenterDelayerBase implementations
- Removed UiCloseActivePresenter and UiCloseActivePresenterData. Use the new DelayUiPresenter with one of the PresenterDelayerBase implementations
- Removed the dependency of UiPresenter from Canvas. Allowing different structures of UI Unity project hierarchy to work with the UiService
- Removed all Get and Has methods from IUiService. Replaced with IReadOnlyDictionaries for all the collections being requested from the service
- Changed all OpenUi methods to be async. This guarantees the expected behaviour that will always load the Ui first before opening
- Changed all CloseUi methods to be synchronous. Closing an Ui will now always be atomic. To get the close delay, you can request directly from the DelayUiPresenter
- Changed IUiAssetLoader to unify the prefab instantiation into a single call. This simplefies the method so the caller doesn't have to worry about synchronous or async behaviour
- Changed the UiConfig to know contain the information of the UiPresenter if is loaded sync or async
Full Changelog: 0.7.2...0.8.0
Release 0.7.2
Fixed:
- Fixed the issue where closing UiPresenter would be called after the game object is disabled
Release 0.7.1
- Added the possibility for SafeAreaHelpersView to maintain the View in the same position if not placed outside of the safe area
Fixed:
- Fixed the duplicated memory issue when loading the same UiPresenter multiple times at the same time before when of them is finished
Release 0.7.0
- Added NonDrawingView to have an Image without a renderer to not add additional draw calls.
- Added SafeAreaHelperView to add the possibility for the RectTransform to adjust himself to the screen notches
- Added AnimatedUiPresenter to play animation on enter or closing
- Added the possibility to add Layers externally into the UiService
Changed:
- Now Canvas are single GameObjects that can be controlled outside of the UiService
Fixed:
- Fixed the issue when setting data on UiPresenterData not being invoked
Release 0.6.1
- Updated dependency packages
Release 0.6.0
- Added the possibility for the IUiService to allow to open/close already opened/closed UiPresenters, and throw an exception if not.
- Added the visible property to UiPresenter of its current visual status Added IUiServiceInit to give a new contract interface for the *UiService" initialisation
Fixed:
- Fixed issue that was not unloading the UiPresenter correctly with the asset bundles
- Fixed issue when UiPresenter might not have a canvas attached
- Fixed crash when trying to open a UiPresenter after loading it
Release 0.5.0
- Added UiAssetLoader to load Ui assets to memory
Changed:
- Removed the UiService dependency from the com.gamelovers.assetLoader
Release 0.4.0
Changed:
- Removed the UiService dependency from the Addressables
- Modified the UiService to be testable and injectable into other systems
Release 0.3.2
- Moved interface IUiService to a separate file to improve the code readability
Release 0.3.1
- Updated dependency packages