now splits the collections array

This commit is contained in:
vaporvee
2022-11-15 09:02:31 +01:00
committed by GitHub
parent a81ccc7182
commit 6ccfc19d12

View File

@@ -20,10 +20,10 @@ public class TilemapForeground : TileMap
public void ReplaceStaticTiles(int CellID)
{
//Vector2[] AllCells = GetUsedCellsById(CellID); //why isnt it just a normal array wtf
// for(int i = 0; i == AllCells.Length; i++)
// {
// GD.Print(AllCells[i]);
// }
Godot.Collections.Array allcells = GetUsedCellsById(CellID); //why isnt it just a normal array wtf
for(int i = 0; i < allcells.Count; i++)
{
GD.Print(allcells[i]); //needs a bit more stuff
}
}
}