Added hold to place
This commit is contained in:
@@ -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