You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,22 @@ All notable changes to this package will be documented in this file.
4
4
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html)
6
6
7
+
## [0.10.0] - 2024-11-13
8
+
9
+
**New**:
10
+
- Added *UniTask* dependency to enable WebGL platform support
11
+
12
+
**Changed**:
13
+
- Updated *IUiService* async methods to use *UniTask* instead of *Task* for better performance and WebGL compatibility
14
+
7
15
## [0.9.1] - 2024-11-04
8
16
9
17
**Fixed**:
10
18
- Fixed the issue that would crash *NonDrawingView* if the *GameObject* would be missing a *CanvasRenderer*
11
19
12
20
## [0.9.0] - 2024-11-01
13
21
22
+
***New**:
14
23
- Added *GetUi<T>* method to the *IUiService*. It requests the *UiPresenter* by directly using generic T
15
24
- Added *IsVisible<T>* method to the *IUiService*. It requests the visibility state of *UiPresenter*
16
25
- Added IReadOnlyList property *VisiblePresenters* to the *IUiService* to allow external entities to access the list of visible *UiPresenter*
@@ -20,6 +29,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
20
29
21
30
## [0.8.0] - 2024-10-29
22
31
32
+
***New**:
23
33
- Added new *PresenterDelayerBase*, *AnimationDelayer* and *TimeDelayer* to support presenters that open/close with a delay
24
34
- Added new *DelayUiPresenter* to interact with *PresenterDelayerBase* implementations and allow presenters to open/close with a delay
25
35
- Improved performance of *UiService*
@@ -41,13 +51,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
41
51
42
52
## [0.7.1] - 2021-05-03
43
53
54
+
***New**:
44
55
- Added the possibility for *SafeAreaHelpersView* to maintain the View in the same position if not placed outside of the safe area
45
56
46
57
**Fixed**:
47
58
- Fixed the duplicated memory issue when loading the same *UiPresenter* multiple times at the same time before when of them is finished
48
59
49
60
## [0.7.0] - 2021-03-12
50
61
62
+
***New**:
51
63
- Added *NonDrawingView* to have an Image without a renderer to not add additional draw calls.
52
64
- Added *SafeAreaHelperView* to add the possibility for the *RectTransform* to adjust himself to the screen notches
53
65
- Added *AnimatedUiPresenter* to play animation on enter or closing
@@ -61,10 +73,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
61
73
62
74
## [0.6.1] - 2020-09-24
63
75
76
+
**Fixed**:
64
77
- Updated dependency packages
65
78
66
79
## [0.6.0] - 2020-09-24
67
80
81
+
***New**:
68
82
- Added the possibility for the *IUiService* to allow to open/close already opened/closed *UiPresenters*, and throw an exception if not.
69
83
- Added the visible property to UiPresenter of its current visual status Added *IUiServiceInit* to give a new contract interface for the *UiService" initialisation
70
84
@@ -75,6 +89,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
75
89
76
90
## [0.5.0] - 2020-07-13
77
91
92
+
***New**:
78
93
- Added *UiAssetLoader* to load Ui assets to memory
79
94
80
95
**Changed**:
@@ -88,19 +103,23 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
88
103
89
104
## [0.3.2] - 2020-04-18
90
105
106
+
**Changed**:
91
107
- Moved interface *IUiService* to a separate file to improve the code readability
92
108
93
109
## [0.3.1] - 2020-02-15
94
110
111
+
**Changed**:
95
112
- Updated dependency packages
96
113
97
114
## [0.3.0] - 2020-02-11
98
115
116
+
***New**:
99
117
- Added new *UiPresenterData* class for the case where the *UiPresenter* needs to be initialized with a default data value
100
118
- Added new *OnInitialize* method that is invoked after the *UiPresenter* is initialized
101
119
102
120
## [0.2.1] - 2020-02-09
103
121
122
+
***New**:
104
123
- Added the possibility to open the ui after adding or loading it to the *UiService*
105
124
- Added the possibility to get the canvas reference object based on the given layer
106
125
- Added the possibility to remove and unload the *UiPresenter* by only passing it's reference
@@ -110,6 +129,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
110
129
111
130
## [0.2.0] - 2020-01-19
112
131
132
+
***New**:
113
133
- 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
114
134
- 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>(T presenter)*
115
135
- Now the *UnloadUi* & *UnloadUiSet* properly unloads the ui from memory and removes it from the service
Copy file name to clipboardExpand all lines: package.json
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,13 @@
2
2
"name": "com.gamelovers.uiservice",
3
3
"displayName": "UiService",
4
4
"author": "Miguel Tomas",
5
-
"version": "0.9.1",
5
+
"version": "0.10.0",
6
6
"unity": "2022.3",
7
7
"license": "MIT",
8
8
"description": "This package provides a service to help manage an Unity's, game UI.\nIt allows to open, close, load, unload and request any Ui Configured in the game.\nThe package provides a Ui Set that allows to group a set of Ui Presenters to help load, open and close multiple Uis at the same time.\n\nTo help configure the game's UI you need to create a UiConfigs Scriptable object by:\n- Right Click on the Project View > Create > ScriptableObjects > Configs > UiConfigs",
0 commit comments