mirror of
https://github.com/BotChain-Robots/ui.git
synced 2026-07-08 15:07:22 +02:00
Implemented new discover flow and implemented unit test for it
Made-with: Cursor
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user