changed a comment

This commit is contained in:
2022-11-15 20:30:21 +01:00
parent 4f5209d9e5
commit 4206b63785

View File

@@ -20,7 +20,7 @@ public class tilemap_foreground : TileMap
var instance = scene.Instance();
AddChild(instance);
var node = GetNode<Node2D>(instance.GetPath());
node.Position = allCells[i] * CellSize; //node has to be 2D and can't be centered
node.Position = allCells[i] * CellSize; //node has to be Node2D and can't be centered
GD.Print(node);
}
}