New changes

This commit is contained in:
2024-12-30 21:02:21 +00:00
parent da1028388a
commit 28be9bc539
4 changed files with 37 additions and 11 deletions
@@ -98,7 +98,7 @@ namespace GameDevLibrary.Extensions
return values;
}
public static IEnumerable<TSource> DistinctBy<TSource, TKey>
/*public static IEnumerable<TSource> DistinctBy<TSource, TKey>
(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector)
{
HashSet<TKey> seenKeys = new HashSet<TKey>();
@@ -109,7 +109,7 @@ namespace GameDevLibrary.Extensions
yield return element;
}
}
}
}*/
// Idea obtained from TaroDev's video on things to do in Unity - https://youtu.be/Ic5ux-tpkCE?t=302