cells now change color based on value!!!

colors are a bit weird though, need to figure that out
This commit is contained in:
Simon O'Shea
2023-08-07 13:59:44 -04:00
parent 94b8f55509
commit 7c3fd8d563
10 changed files with 366 additions and 120 deletions
@@ -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;
}