Skip to content

Commit c7f09ca

Browse files
committed
Fixed static access overwriting the collection definition
1 parent fcc8a78 commit c7f09ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scripts/Editor/Core/CollectionSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public CollectionSettings(ScriptableObjectCollection targetCollection)
4747

4848
bool canBePartial = CodeGenerationUtility.CheckIfCanBePartial(targetCollection, ParentFolderPath);
4949

50-
if (!canBePartial)
50+
if (canBePartial)
5151
StaticFilename = $"{targetCollection.GetType().Name}Static".FirstToUpper();
5252
else
5353
StaticFilename = $"{targetCollection.GetType().Name}".FirstToUpper();

0 commit comments

Comments
 (0)