void InitData(int start, int max) { for (int i = start; i < max; i += 1) { var handle = new ContiguousHandle() { Index = i }; Data[i].Init(); Data[i].ID = handle; Pointers[i] = handle; } }
public void Init(ContiguousHandle handle, ListStruct <T> pool) { Handle = handle; _pool = pool; }
public void Return(ContiguousHandle index) //5 { #if DEBUG ref var obj = ref Data[Pointers[index].Index];