Skip to content

Releases: CoderGamester/Unity-UiService

Release 0.8.0

29 Oct 23:56
085e117

Choose a tag to compare

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

09 May 18:07
5cdab27

Choose a tag to compare

Fixed:

  • Fixed the issue where closing UiPresenter would be called after the game object is disabled

Release 0.7.1

03 May 13:20
654894c

Choose a tag to compare

  • 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

12 Mar 14:33
12dbb62

Choose a tag to compare

  • 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

24 Sep 17:29
9679c5e

Choose a tag to compare

  • Updated dependency packages

Release 0.6.0

24 Sep 14:38
40e224f

Choose a tag to compare

  • 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

12 Aug 16:45
270459a

Choose a tag to compare

  • Added UiAssetLoader to load Ui assets to memory

Changed:

  • Removed the UiService dependency from the com.gamelovers.assetLoader

Release 0.4.0

13 Jul 15:27
3658334

Choose a tag to compare

Changed:

  • Removed the UiService dependency from the Addressables
  • Modified the UiService to be testable and injectable into other systems

Release 0.3.2

13 Jul 13:37
a7ab646

Choose a tag to compare

  • Moved interface IUiService to a separate file to improve the code readability

Release 0.3.1

15 Feb 20:05
2eb3cbb

Choose a tag to compare

  • Updated dependency packages