Added hold to place
This commit is contained in:
1 parent
aa66ea0dcd
commit
82a5a9bc1e
2 files changed
+25
-3
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user