diff --git a/Runtime/Extensions/IListExtensions.cs b/Runtime/Extensions/IListExtensions.cs index 621f90a..9065502 100644 --- a/Runtime/Extensions/IListExtensions.cs +++ b/Runtime/Extensions/IListExtensions.cs @@ -117,19 +117,5 @@ public static T Next(this List array, ref int currentIndex) { return array[currentIndex++ % array.Count]; } - - public static bool TryGetFromIndex(this List list, int index, out T value) - { - try - { - value = list[index]; - return true; - } - catch (Exception e) - { - value = default; - return false; - } - } } } \ No newline at end of file