Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions RhythmGameUtilities/Scripts/Utilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,6 @@ public static float InverseLerp(float a, float b, float v)
return UtilitiesInternal.InverseLerp(a, b, v);
}

public static T2 FirstValue<T1, T2>(this Dictionary<T1, T2> dictionary)
{
var enumerator = dictionary.GetEnumerator();

enumerator.MoveNext();

return enumerator.Current.Value;
}

public static List<int[]> GenerateAdjacentKeyPairs<T>(Dictionary<int, T> dictionary)
{
var keys = dictionary.Keys.ToList();
Expand Down
9 changes: 0 additions & 9 deletions UnityPackage/Scripts/Utilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,6 @@ public static float InverseLerp(float a, float b, float v)
return UtilitiesInternal.InverseLerp(a, b, v);
}

public static T2 FirstValue<T1, T2>(this Dictionary<T1, T2> dictionary)
{
var enumerator = dictionary.GetEnumerator();

enumerator.MoveNext();

return enumerator.Current.Value;
}

public static List<int[]> GenerateAdjacentKeyPairs<T>(Dictionary<int, T> dictionary)
{
var keys = dictionary.Keys.ToList();
Expand Down