From 7c3fd8d5630482d96dbbfbed2cd08c0d3530d5ad Mon Sep 17 00:00:00 2001 From: Simon O'Shea Date: Mon, 7 Aug 2023 13:59:44 -0400 Subject: cells now change color based on value!!! colors are a bit weird though, need to figure that out --- Pathfinding Visualizer/Assets/Scripts/Main.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (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 30f2671..cdc64db 100644 --- a/Pathfinding Visualizer/Assets/Scripts/Main.cs +++ b/Pathfinding Visualizer/Assets/Scripts/Main.cs @@ -38,21 +38,21 @@ public class Main : MonoBehaviour { Debug.Log("Placing Mode: Agent"); placementMode = 'a'; - placementValue = 2; + placementValue = 3; } // Place Sample in grid if(Input.GetKeyDown("s")) { Debug.Log("Placing Mode: Sample"); placementMode = 's'; - placementValue = 1; + placementValue = 2; } // Place Obstacle in grid if(Input.GetKeyDown("o")) { Debug.Log("Placing Mode: Obstacle"); placementMode = 'o'; - placementValue = -1; + placementValue = 1; } -- cgit v1.3.1-4-g156e