Tried EntityEditor in C#

This commit is contained in:
Simon Lübeß
2023-11-10 12:41:58 +01:00
parent b41eaad788
commit 6f1467046d
13 changed files with 285 additions and 5 deletions
+10
View File
@@ -0,0 +1,10 @@
using System.Collections.Generic;
using System.Linq;
namespace GlitchyEngine.Extensions;
public static class EnumExtension
{
public static IEnumerable<(T item, int index)> WithIndex<T>(this IEnumerable<T> self)
=> self.Select((item, index) => (item, index));
}