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 05f4f07 commit fcc8a78Copy full SHA for fcc8a78
Scripts/Editor/Core/CollectionSettings.cs
@@ -29,7 +29,7 @@ public CollectionSettings(ScriptableObjectCollection targetCollection)
29
{
30
Guid = targetCollection.GUID;
31
string targetNamespace = targetCollection.GetItemType().Namespace;
32
- if (!string.IsNullOrEmpty(SOCSettings.Instance.NamespacePrefix))
+ if (string.IsNullOrEmpty(targetNamespace) && !string.IsNullOrEmpty(SOCSettings.Instance.NamespacePrefix))
33
targetNamespace = $"{SOCSettings.Instance.NamespacePrefix}";
34
35
Namespace = targetNamespace;
@@ -143,4 +143,4 @@ public void SetParentFolderPath(string assetPath)
143
Save();
144
}
145
146
-}
+}
0 commit comments