public void ForceCreateBuilding(Building.BuildingType type, int cellIndex) { MapManager mapManager = MapManager.Instance; var position = mapManager.CalculateBuildPosition(cellIndex); Builder builder = new Builder(type, position); Building buildData = LoadManager.Instance.allBuildingData[builder.Type]; builder.constructionStatus = new Builder.Construction() { isConstructing = false }; builder.Level = 1; InitiateBuilding(builder); mapManager.constructableGrid.RemoveAt(cellIndex); }