public static int2 GetPosition2(int index) => IndexMapUtil.ToPosition2(index, AxisSize);
public static int GetIndex(int x, int y) => IndexMapUtil.ToIndex(x, y, AxisSize);
public static int GetIndex(int3 position) => IndexMapUtil.ToIndex(position, CreateSizeCube());
public static int GetIndex(int2 position) => IndexMapUtil.ToIndex(position, AxisSize);
public static int GetNeighborIndex(int3 position, Direction direction) => IndexMapUtil.ToIndex(position + direction.ToInt3(), CreateSizeCube());