Update TypeSearch.cs
This commit is contained in:
parent
5ee76f7a92
commit
edbbe60a6b
@ -16,7 +16,7 @@ namespace MackySoft.SerializeReferenceExtensions.Editor
|
||||
public static IEnumerable<Type> GetTypes (Type baseType)
|
||||
{
|
||||
#if UNITY_2023_2_OR_NEWER
|
||||
// NOTE: This is a workaround for Unity 2023.2 and later.
|
||||
// NOTE: This is a generics solution for Unity 2023.2 and later.
|
||||
// 2023.2 because SerializeReference supports generic type instances and because the behaviour is stable.
|
||||
if (baseType.IsGenericType)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user