Skip to content

Commit

Permalink
fix: Fixed the package not being compatible with Unity 2020
Browse files Browse the repository at this point in the history
  • Loading branch information
SolidAlloy committed Mar 15, 2022
1 parent eaec433 commit 1ea4562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor/MissingScriptTypeUtility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ private void TrySearchScript(string assemblyQualifiedTypeName)
private static Type GetType(string assemblyQualifiedTypeName)
{
// Transform generic type into generic type definition.
if (assemblyQualifiedTypeName.Contains('<'))
if (assemblyQualifiedTypeName.Contains("<"))
{
string genericArgsPart = assemblyQualifiedTypeName.GetSubstringAfter('<').GetSubstringBefore('>');
int argsCount = genericArgsPart.CountChars(',') + 1;
Expand Down

0 comments on commit 1ea4562

Please sign in to comment.