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.
2 parents a15eb83 + ea27793 commit 27c024cCopy full SHA for 27c024c
VContainer/Assets/VContainer/Editor/ParentReferencePropertyDrawer.cs
@@ -13,8 +13,9 @@ public sealed class ParentReferencePropertyDrawer : PropertyDrawer
13
{
14
static string[] GetAllTypeNames()
15
16
- return TypeCache.GetTypesDerivedFrom<LifetimeScope>()
17
- .Select(type => type.FullName)
+ return new List<string> { "None" }
+ .Concat(TypeCache.GetTypesDerivedFrom<LifetimeScope>()
18
+ .Select(type => type.FullName))
19
.ToArray();
20
}
21
0 commit comments