We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9cf1c5 commit c950c1bCopy full SHA for c950c1b
Scripts/Runtime/Core/CollectionsRegistry.cs
@@ -226,7 +226,7 @@ public List<ScriptableObjectCollection> GetCollectionsByItemType(Type targetColl
226
{
227
ScriptableObjectCollection col = collections[i];
228
Type collectionItemType = col.GetItemType();
229
- if (collectionItemType != null && collectionItemType.IsAssignableFrom(targetCollectionItemType))
+ if (collectionItemType != null && targetCollectionItemType.IsAssignableFrom(collectionItemType))
230
231
result.Add(col);
232
}
0 commit comments