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 efd4b8a commit fb937b4Copy full SHA for fb937b4
Engine/Editor/Editors/Assets/AudioClipEditor.cs
@@ -47,6 +47,7 @@ public override void Destroy()
47
audioSource?.Destroy();
48
audioClip?.Destroy();
49
50
+ triedLoad = false;
51
clip = null;
52
cancellation = null;
53
audioSource = null;
@@ -196,7 +197,10 @@ public override void OnInspectorGUI()
196
197
}
198
199
- ShowAssetUI(null);
200
+ ShowAssetUI((() =>
201
+ {
202
+ Destroy();
203
+ }));
204
205
206
0 commit comments