We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deb2a00 commit 370d4a4Copy full SHA for 370d4a4
CHANGELOG.md
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
7
## [Unreleased]
8
9
+## [1.0.2] - 2022-01-30
10
+- Fixed SoundEffect asset not setting default values when resetting.
11
+
12
## [1.0.1] - 2021-12-25
13
- Added DavidFDev folder to contain component and scriptable object in create menus.
14
Runtime/SoundEffect.cs
@@ -175,6 +175,16 @@ internal AudioClip GetClipAtRandom()
175
return Clips[clipIndex];
176
}
177
178
+ private void Reset()
179
+ {
180
+ SmartRandom = true;
181
+ MinVolume = 1f;
182
+ MaxVolume = 1f;
183
+ MinPitch = 1f;
184
+ MaxPitch = 1f;
185
+ Priority = 128;
186
+ }
187
188
#endregion
189
190
0 commit comments