This commit is contained in:
Janis
2022-06-03 22:53:35 +02:00
parent 87d77d2867
commit a31c6a16dd
21 changed files with 1005 additions and 7 deletions

View File

@@ -207,7 +207,6 @@ public class GridBuildingSystem : MonoBehaviour
ClearConveyorPath();
List<Vector2Int> pathPoints = VectorDrawing.FindVectorPath(conveyorStartPosition, endPosition);
Debug.Log(pathPoints.Count);
foreach (Vector2Int position in pathPoints)
{
GameObject conveyorBlueprint = Instantiate(selectedPlacedObjectTypeSO.prefab.gameObject, new Vector3(position.x, position.y), Quaternion.identity);