A game about forced loneliness, made by TACStudios
1#if UNITY_EDITOR
2using System;
3using System.Collections.Generic;
4
5namespace UnityEngine.InputSystem.Editor
6{
7 internal static class EnumerableExtensions
8 {
9 public static void ForEach<T>(this IEnumerable<T> enumerable, Action<T, int> action)
10 {
11 int index = 0;
12 foreach (var item in enumerable)
13 action(item, index++);
14 }
15
16 public static string Join<T>(this IEnumerable<T> enumerable, string separator)
17 {
18 return string.Join(separator, enumerable);
19 }
20 }
21}
22
23#endif