summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordereelatwit <54997325+dereelatwit@users.noreply.github.com>2023-08-09 14:37:24 -0400
committerdereelatwit <54997325+dereelatwit@users.noreply.github.com>2023-08-09 14:37:24 -0400
commit614d62efeb59324196246ab7a092f482072a3eb3 (patch)
tree16303b6a2ed106ca34e2d95e8b20f2deff4d8512
parent8181a3426aad23fca4449ff3f0858ba58733bd21 (diff)
Fixed slider to have better values
-rw-r--r--Pathfinding Visualizer/Assets/Scenes/Testing.unity7
-rw-r--r--Pathfinding Visualizer/Assets/UI Elements/UI/Scripts/nMain.cs2
2 files changed, 4 insertions, 5 deletions
diff --git a/Pathfinding Visualizer/Assets/Scenes/Testing.unity b/Pathfinding Visualizer/Assets/Scenes/Testing.unity
index 2b7d664..f25f000 100644
--- a/Pathfinding Visualizer/Assets/Scenes/Testing.unity
+++ b/Pathfinding Visualizer/Assets/Scenes/Testing.unity
@@ -746,7 +746,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
cellMesh: {fileID: 885170986}
- speed: 3
agent: {x: 0, y: 0}
--- !u!1 &254496291
GameObject:
@@ -1778,7 +1777,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
- m_text: 3.00
+ m_text: 2.00
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 6199a8d09f6d80b44afa2ad06a271be7, type: 2}
m_sharedMaterial: {fileID: -3238282194751116107, guid: 6199a8d09f6d80b44afa2ad06a271be7, type: 2}
@@ -3263,9 +3262,9 @@ MonoBehaviour:
m_HandleRect: {fileID: 368052878}
m_Direction: 1
m_MinValue: 0.01
- m_MaxValue: 5
+ m_MaxValue: 2
m_WholeNumbers: 0
- m_Value: 3
+ m_Value: 2
m_OnValueChanged:
m_PersistentCalls:
m_Calls:
diff --git a/Pathfinding Visualizer/Assets/UI Elements/UI/Scripts/nMain.cs b/Pathfinding Visualizer/Assets/UI Elements/UI/Scripts/nMain.cs
index 9d5b43b..c7db817 100644
--- a/Pathfinding Visualizer/Assets/UI Elements/UI/Scripts/nMain.cs
+++ b/Pathfinding Visualizer/Assets/UI Elements/UI/Scripts/nMain.cs
@@ -10,7 +10,7 @@ public class nMain : MonoBehaviour
private LogicGrid world;
int placementValue;
- public static float speed = 3.0f;
+ public static float speed = 2.0f;
int heuristic;
int algorithm;