using System.Collections.Generic; namespace MoonTools.ECS { internal class IndexableSetState where T : unmanaged { public int Count; public Dictionary Indices; public byte[] Array; public unsafe IndexableSetState(int count) { Count = count; Indices = new Dictionary(count); Array = new byte[sizeof(T) * count]; } } }