From 6802fc868e8740dd214c669cc743919f32ffbfbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Nu=C8=9Biu?= Date: Sun, 2 Jun 2019 18:09:42 +0300 Subject: [PATCH] Make Extensions/ShuffleList generic --- Assets/Scripts/src/Helpers/ListExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/src/Helpers/ListExtensions.cs b/Assets/Scripts/src/Helpers/ListExtensions.cs index 1dd32a0..a8eaa33 100644 --- a/Assets/Scripts/src/Helpers/ListExtensions.cs +++ b/Assets/Scripts/src/Helpers/ListExtensions.cs @@ -1,11 +1,11 @@ -using System.Collections.Generic; +using System.Collections; using UnityEngine; namespace src.Helpers { public static class ListExtensions { - public static void ShuffleList(this List list) + public static void ShuffleList(this IList list) { const int min = 0; var max = list.Count - 1;