public static Vector3Int[] GetAllNonDefaultAxisCombinations(this Vector3Int v) { int count = v.CountNonZeros(); if (count == 3) { return(GetAllCombination(v)); } else if (count == 2) { return(GetReducedCombination(v)); } else if (count == 1) { return new Vector3Int[] { v } } ; else { return(new Vector3Int[0]); } }