Implemented new discover flow and implemented unit test for it

Made-with: Cursor
This commit is contained in:
Leo Qu
2026-03-10 19:37:00 -04:00
parent 7212f692a6
commit 71088de101
4 changed files with 318 additions and 13 deletions

View File

@@ -19,16 +19,7 @@ public class DiscoveryButton : MonoBehaviour
public void OnDiscoveryPressed()
{
if (topologyBuilder != null)
{
Debug.Log("Discovery button pressed.");
topologyBuilder.BuildTopologyFromJson();
FocusCameraOnTopology();
}
else
{
Debug.LogError("TopologyBuilder is not assigned!");
}
Debug.Log("Discovery button pressed topology building deferred to overlay selection.");
}
void FocusCameraOnTopology()