Skip to content

Commit 37cea40

Browse files
committed
Removed unused method.
1 parent c9164dd commit 37cea40

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

RhythmGameUtilities/Scripts/Utilities.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,6 @@ public static float InverseLerp(float a, float b, float v)
101101
return UtilitiesInternal.InverseLerp(a, b, v);
102102
}
103103

104-
public static T2 FirstValue<T1, T2>(this Dictionary<T1, T2> dictionary)
105-
{
106-
var enumerator = dictionary.GetEnumerator();
107-
108-
enumerator.MoveNext();
109-
110-
return enumerator.Current.Value;
111-
}
112-
113104
public static List<int[]> GenerateAdjacentKeyPairs<T>(Dictionary<int, T> dictionary)
114105
{
115106
var keys = dictionary.Keys.ToList();

UnityPackage/Scripts/Utilities.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,6 @@ public static float InverseLerp(float a, float b, float v)
101101
return UtilitiesInternal.InverseLerp(a, b, v);
102102
}
103103

104-
public static T2 FirstValue<T1, T2>(this Dictionary<T1, T2> dictionary)
105-
{
106-
var enumerator = dictionary.GetEnumerator();
107-
108-
enumerator.MoveNext();
109-
110-
return enumerator.Current.Value;
111-
}
112-
113104
public static List<int[]> GenerateAdjacentKeyPairs<T>(Dictionary<int, T> dictionary)
114105
{
115106
var keys = dictionary.Keys.ToList();

0 commit comments

Comments
 (0)