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
## [1.9.8] - 2025-06-11
### Fixed
- Fixed broken links to example codes in API documentation.
### Changed
- Adds alt texts to images in documentation to increase accessibility for screen readers.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,13 @@
2
2
All notable changes to this project will be documented in this file.
3
3
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
4
4
5
+
## [1.9.8] - 2025-06-11
6
+
### Fixed
7
+
- Fixed broken links to example codes in API documentation.
8
+
9
+
### Changed
10
+
- Adds alt texts to images in documentation to increase accessibility for screen readers.
11
+
5
12
## [1.9.7] - 2025-05-22
6
13
### Fixed
7
14
- Fixed a warning "Unable to load Unity.Android.Gradle's referenced assembly NiceIO" when scanning assemblies. [UVSB-2594](https://issuetracker.unity3d.com/product/unity/issues/guid/UVSB-2594)

28
28
29
29
The node is updated with each output port.
30
30
@@ -40,7 +40,7 @@ Select nodes are the opposite of switch nodes. You can select a single value fro
40
40
For example, a Select On Integer node that chooses a color based on a player number.
41
41
42
42
43
-

43
+

44
44
45
45
>[!NOTE]
46
46
> In the above example predictive debugging warns of a crash if playerNo is not within 1, 2, 3, or 4, because the Default port is not connected.
@@ -60,7 +60,7 @@ The while loop is the simplest form of loop. It repeats its body while its condi
60
60
61
61
For example, the following graph generates a new random name until the result isn't contained in the names application variable.
62
62
63
-

63
+

64
64
65
65
> [!WARNING]
66
66
> Do not create an infinite loop. If the condition is always true, the editor hangs. As loop bodies are synchronous, not parallel, there are few uses for while loops in visual scripting.
@@ -76,7 +76,7 @@ For example, the following graph outputs four messages to the console:
76
76
**I love my bird*
77
77
**I love my fish*
78
78
79
-

79
+

80
80
81
81
To access the key and value from dictionaries in the loop, check the Dictionary box.
82
82
@@ -86,7 +86,7 @@ For is a numeric loop and requires three integers: a start index, an end index,
86
86
87
87
For example, this graph counts to ten by skipping odd numbers because of its step. In other words, its output is 0, 2, 4, 6, then 8.
88
88
89
-

89
+

90
90
91
91
The For loop can also be very useful when combined with the Get List Item and Count Items nodes.
92
92
@@ -99,15 +99,15 @@ Instead of using the For Each node that outputs each item, the graph outputs eac

103
103
104
104
### Break Loop
105
105
106
106
A loop can finish early by using the Break Loop node. As soon as this node is entered, the exit port of the loop is called, no matter how many more iterations remain.
107
107
108
108
For example, even though this for loop is supposed to count to 10, it stops at 5 because of the break. Its output is 0, 1, 2, 3, then 4.
109
109
110
-

110
+

111
111
112
112
## Exception Handling
113
113
@@ -117,7 +117,7 @@ The Try Catch node handles [Exceptions](https://docs.microsoft.com/en-us/dotnet/
117
117
118
118
Anything that gets executed in the Try branch is considered "safe": the script continues from the Catch branch instead if it fails. The Exception port captures information about the failure when that happens. A common way of handling this is to log a warning with the exception message.
119
119
120
-

120
+

121
121
122
122
> [!NOTE]
123
123
> By default, this node catches all exceptions. Be specific in your handling by changing the exception type in the dropdown.
@@ -132,7 +132,7 @@ It is good practice to "fail early" by throwing as soon as something unexpected
132
132
133
133
For example, to ensure damage is positive before applying it:
134
134
135
-

135
+

136
136
137
137
If the Custom checkbox is selected, you can pass a custom Exception object that contains more data than a simple message. Most often, this is not required. By default, the thrown exception is of type `System.Exception`.
138
138
@@ -164,28 +164,28 @@ Another way of implementing the same logic as the previous example: clicking Spa
164
164
> [!NOTE]
165
165
> Turn on relations in the toolbar as a means to visualize the flow between the toggle ports.
166
166
167
-

167
+

168
168
169
169
## Once
170
170
171
171
The Once node executes different logic the first time it is traversed from any subsequent times.
172
172
173
-

173
+

174
174
175
175
It can be reset by entering the Reset port.
176
176
177
177
## Cache
178
178
179
-
The Cache node saves the result of an expensive operating and reuses it instead of fetching it again each time you need it.
179
+
The Cache node saves the result of an expensive operation and reuses it instead of fetching it again each time you need it.
180
180
181
181
For example, using this graph, the formula is calculated twice:
182
182
183
-

183
+

184
184
185
185
By using the Cache node, the result is saved and calculated only once, optimizing performance.
186
186
187
187
188
-

188
+

189
189
190
190
> [!NOTE]
191
191
> It is important to note that caching only lasts within the scope of the current flow. The value of the cache is not shared or available from another event.
0 commit comments