Skip to content

Commit b9ad983

Browse files
committed
Removed class constraints.
Removed class constraints. This allows the use of structs.
1 parent 024a9cd commit b9ad983

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/SubclassSelectorDrawer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ TypePopupCache GetTypePopup (SerializedProperty property) {
6363
Type baseType = property.GetManagedReferenceFieldType();
6464
var popup = new AdvancedTypePopup(
6565
TypeCache.GetTypesDerivedFrom(baseType).Where(p =>
66-
p.IsClass &&
6766
(p.IsPublic || p.IsNestedPublic) &&
6867
!p.IsAbstract &&
6968
!p.IsGenericType &&

0 commit comments

Comments
 (0)