Releases: CoderGamester/Unity-UiService
Releases · CoderGamester/Unity-UiService
Release 0.3.0
- 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
- 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
- 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
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
Release of the UiService package