public static void Foreach(this Vector3Int self, System.Action <Vector3Int> function) { self.Foreach((x, y, z) => function(new Vector3Int(x, y, z))); }