Skip to content

Releases: CoderGamester/Unity-UiService

Release 0.3.0

11 Feb 23:38
968c374

Choose a tag to compare

  • Added new UiPresenterData class for the case where the UiPresenter needs to be initialized with a default data value
  • Added new OnInitialize method that is invoked after the UiPresenter is initialized

Release 0.2.1

09 Feb 14:24
cda3fe1

Choose a tag to compare

  • Added the possibility to open the ui after adding or loading it to the UiService
  • Added the possibility to get the canvas reference object based on the given layer
  • Added the possibility to remove and unload the UiPresenter by only passing it's reference

Fixed:

  • Fixed bug that prevented the UiService to properly unload an UiPresenter

Release 0.2.0

19 Jan 17:49
9ecda58

Choose a tag to compare

  • Added easy selection of the UiConfigs.asset file. Just go to Tools > Select UiConfigs.asset. If the UiConfigs.asset does not exist, it will create a new one in the Assets folder
  • Added the protected Close() method to directly allow to close the UiPresenter from the UiPresenter object file without needing to call the UiService. Also now is possible to close an Ui in the service by referencing the object directly without needing to reference the object type by calling CloseUi(T presenter)
  • Now the UnloadUi & UnloadUiSet properly unloads the ui from memory and removes it from the service
  • Added RemoveUi & RemoveUiPresentersFromSet to allow the ui to be removed from the service without being unloaded from memory
  • Improved documentation

Changed

  • Now the Refresh method on the UiPresenter is public and can be called from any object that has asset to it. The UiService will not call this method anymore if trying to Open the same UiPresenter twice without closing
  • In the UiService, IsUiLoaded changed to HasUiPresenter
  • In the UiService IsAllUiLoadedInSet changed to HasAllUiPresentersInSet
  • Unified AddUi methods

Fixed:

  • Fixed bug that sometimes don't save the UiConfigs state correctly

Release 0.1.3

09 Jan 20:44
753c962

Choose a tag to compare

Fixed:

  • Bug that sometimes didn't save the UiConfigs state correctly
  • The state of a the UiPresenter when loaded. Now the UiPresenters are always disabled when loaded

Release 0.1.0

07 Jan 11:32
24efd6a

Choose a tag to compare

Release of the UiService package