Added hold to place

This commit is contained in:
Pasha Bibko committed 2026-04-21 09:24:39 +01:00
1 parent aa66ea0dcd
commit 82a5a9bc1e
2 files changed
+25 -3

No files matched your search

+1 -1
View File
@@ -177,7 +177,7 @@ namespace Fruitomation.UI
BuildingPreview.rectTransform.anchoredPosition = p4;
//
if (Input.GetMouseButtonDown(0) && MouseOnGrid)
if (Input.GetMouseButton(0) && MouseOnGrid)
{
BuildingManager.AddBuildingAt(p1, SelectedBuildingToBuild, FlipCurrentBuilding);
}