This commit is contained in:
j.mei7
2022-03-20 00:25:18 +01:00
parent 45b1dc2404
commit 6279eb3adb
6 changed files with 22 additions and 13 deletions

View File

@@ -194,7 +194,6 @@ public class GridBuildingSystem : MonoBehaviour
public GameObject PlaceBuilding(Vector3 position)
{
Debug.Log("HALLO");
position = new Vector3(position.x, position.y);
buildingGrid.GetXY(position, out int x, out int y);
@@ -214,7 +213,7 @@ public class GridBuildingSystem : MonoBehaviour
}
else
{
Debug.Log("Cannot build here!" + " " + position);
//Debug.Log("Cannot build here!" + " " + position);
}
return null;
}