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
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,30 +4,32 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
7
-
## [2.1.0] - 2022-xx-xx
7
+
## [2.1.0] - 2022-02-05
8
8
Quality of life improvements.
9
9
10
10
### Added
11
-
- Utility window to help in creation of Scriptable Events. It can be found under_Right Click > Create > Scriptable Event > Custom Scriptable Event_ (at the very bottom).
11
+
- Utility window to help in creation of Scriptable Events. It can be found via_Right Click > Create > Scriptable Event > Custom Scriptable Event_ (at the very bottom).
12
12
-`ScriptableEventConstants` class which can be used to order custom events more neatly.
13
13
-`BaseScriptableEvent` class (without `TArg`) which is inherited by all events and is used internally to draw inspector GUIs.
14
-
-`DefaultScriptableEventEditor` which targets `BaseScriptableEvent`. This addresses some issues when Odin Inspector is used in the project.
14
+
-`DefaultScriptableEventEditor` which targets `BaseScriptableEvent`. This addresses some issues when Odin Inspector is present in the project.
15
15
-`BaseScriptableEventListener` (without `TArg`) which is now inherited by all listeners.
16
-
-`BaseScriptableEventListenerEditor` which targets `BaseScriptableEventListener`. This addresses some issues when Odin Inspector is used in the project and will be used to add additional functionality to listener components in the future.
16
+
-`BaseScriptableEventListenerEditor` which targets `BaseScriptableEventListener`. This addresses some issues when Odin Inspector is present in the project and will be used to add additional functionality to listener components in the future.
17
17
- Support for `Action<TArg>` listeners. This means that regular methods can now be used as listeners without the need of implementing `IScriptableEventListener<TArg>`.
18
18
-_Raise_ button which is shown next to each added listener. Using this button listeners can be raised individually through the inspector. This is useful for debugging purposes.
19
19
- Icons for events and listeners - this will require asset re-import.
20
20
- Odin Inspector support via the use of `#if ODIN_INSPECTOR`.
21
21
22
22
### Changed
23
23
- Renamed Scriptable Event creation menu from _Scriptable **Events**_ to _Scriptable **Event**_.
24
-
- Moved Scriptable Event creation menu under _Folder_ and _Script_ creation menus so the package is less intrusive.
24
+
- Moved Scriptable Event menus below _Folder_ and _Script_ creation menu items so the package is less intrusive.
25
25
- All existing events now use `ScriptableEventConstants` to define their menu order.
26
26
-`lockDescription` is no longer serialized as its only useful during edit mode.
27
27
- All `bool` properties now have an `is` prefix.
28
-
- Improved `isDebug` messages to be more consistent. Additionally, a listener `Object` will be used as a context when possible to improve the _ping_ functionality when clicking on a debug message in the Editor.
29
-
- Events can now be raised in Edit mode via the _Raise_ button in if any listeners are added.
28
+
- Improved `isDebug` messages to be more consistent. Additionally, a listener `Object` will be used as a context when possible to improve the [ping](https://docs.unity3d.com/ScriptReference/EditorGUIUtility.PingObject.html) functionality when clicking on a debug message in the Editor.
29
+
- Events can now be raised in Edit mode via the _Raise_ button in if any listeners are present in the event.
30
30
- Improved how event `description` is being drawn.
31
+
- Reworked all samples to be more consistent.
32
+
- Updated usage documentation to follow new samples and showcase event creation.
31
33
32
34
## [2.0.0] - 2021-07-07
33
35
This release contains major breaking changes and migrates from 2019 (LTS) to 2020 (LTS) in order to utilise generics.
0 commit comments