Added new art, also added stairs and walls to building menu
This commit is contained in:
@@ -29,14 +29,14 @@ namespace Fruitomation.UI
|
||||
private readonly ContactFilter2D ContactFilter = new();
|
||||
private readonly List<Collider2D> Colliders = new();
|
||||
|
||||
private BuildingBase SelectedBuildingsBuildingBase;
|
||||
private Building SelectedBuildingsBuildingBase;
|
||||
|
||||
private float StartOfMouseClick;
|
||||
private bool MouseOnGrid;
|
||||
|
||||
public void SetSelectedBuildingToBuild(GameObject prefab)
|
||||
{
|
||||
SelectedBuildingsBuildingBase = prefab.GetComponent<BuildingBase>();
|
||||
SelectedBuildingsBuildingBase = prefab.GetComponent<Building>();
|
||||
SelectedBuildingToBuild = prefab;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user