Skip to content

Commit

Permalink
Update TypeSearch.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
mackysoft committed Oct 27, 2024
1 parent 5ee76f7 commit edbbe60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static class TypeSearch
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)
{
Expand Down

0 comments on commit edbbe60

Please sign in to comment.