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