From e6bd6d2c587c7bbe3aa5ef4fa72ebe91befb5c1f Mon Sep 17 00:00:00 2001 From: Simon O'Shea Date: Thu, 3 Aug 2023 15:55:52 -0400 Subject: colored mesh made have a single mesh that changes color based on keyboard input. needs to be made for each cell and have color based on cell-value --- Pathfinding Visualizer/Assets/Scripts/Main.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Pathfinding Visualizer/Assets/Scripts/Main.cs') diff --git a/Pathfinding Visualizer/Assets/Scripts/Main.cs b/Pathfinding Visualizer/Assets/Scripts/Main.cs index a9d87e7..44e2212 100644 --- a/Pathfinding Visualizer/Assets/Scripts/Main.cs +++ b/Pathfinding Visualizer/Assets/Scripts/Main.cs @@ -13,7 +13,7 @@ public class Main : MonoBehaviour void Start() { // Create world - world = new LogicGrid(5, 5, 10f, new Vector3(-10, -30)); + world = new LogicGrid(5, 5, 10f, new Vector3(0, 0)); // Set default placement to Obstacle placementValue = -1; -- cgit v1.3.1-4-g156e