Merge branch 'main' of https://github.com/osheas1atwit/pathfinding-visualizer
This commit is contained in:
@@ -10,6 +10,8 @@ public class nMain : MonoBehaviour
|
||||
private LogicGrid world;
|
||||
int placementValue;
|
||||
|
||||
public float speed = 3.0f;
|
||||
|
||||
int algorithm;
|
||||
bool astarSelected;
|
||||
bool bfsSelected;
|
||||
@@ -154,7 +156,11 @@ public class nMain : MonoBehaviour
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void AdjustSpeed(float newSpeed)
|
||||
{
|
||||
speed = newSpeed;
|
||||
Debug.Log(speed);
|
||||
}
|
||||
|
||||
public void AstarToggle(bool tickOn)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user