We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 892f10a commit ae8e25dCopy full SHA for ae8e25d
1 file changed
Scripts/Runtime/Core/CollectionsRegistry.cs
@@ -1,11 +1,9 @@
1
using System;
2
using System.Collections.Generic;
3
-using System.Linq;
4
using BrunoMikoski.ScriptableObjectCollections.Core;
5
using UnityEngine;
6
#if UNITY_EDITOR
7
using UnityEditor;
8
-using UnityEditor.Compilation;
9
10
#endif
11
@@ -246,6 +244,9 @@ public void DeleteCollection(ScriptableObjectCollection collection)
246
244
public void ReloadCollections()
247
245
{
248
+ if (Application.isBatchMode)
+ return;
249
+
250
if (Application.isPlaying)
251
return;
252
0 commit comments