Restore the stable legacy Unity project

This commit is contained in:
Meta Vens 2026-08-10 14:57:50 +01:00
commit 7006a6b0dd
2070 changed files with 180490 additions and 169303 deletions

View file

@ -1,7 +1,11 @@
using System;
using MessagePack;
using Newtonsoft.Json;
[MessagePackObject, JsonObject(MemberSerialization.OptIn)]
public class EnumDictionary<E, T> where E : Enum
{
public T[] Values;
[JsonProperty("values"), Key(0)] public T[] Values;
public EnumDictionary()
{
@ -9,4 +13,4 @@ public class EnumDictionary<E, T> where E : Enum
}
public T this[E key] => Values[Convert.ToInt32(key)];
}
}