Skip to content

Commit

Permalink
Update SimulationInfoUIControllerBase.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Puvikaran2001 committed Nov 5, 2024
1 parent 14ec7d1 commit 4b52fb4
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,6 @@ public abstract class SimulationInfoUIControllerBase<TSimulation, TAlgorithm, TS

private void Start()
{
simulationManager = GameObject.Find("SimulationManager").GetComponent<SimulationManager<TSimulation, TAlgorithm, TScenario>>();

AlgorithmDebugText = GameObject.Find("AlgorithmDebugInfo").GetComponent<Text>();
ControllerDebugText = GameObject.Find("ControllerDebugInfo").GetComponent<Text>();
TagDebugText = GameObject.Find("TagDebugInfo").GetComponent<Text>();
MouseCoordinateText = GameObject.Find("MouseCoordinateText").GetComponent<Text>();
AllVisualizeTagsButton = GameObject.Find("AllVisualizeTags").GetComponent<Button>();
VisualizeTagsButton = GameObject.Find("VisualizeTags").GetComponent<Button>();
StickyCameraButton = GameObject.Find("StickyCamera").GetComponent<Button>();


// Set listeners for Tag visualization buttons
AllVisualizeTagsButton.onClick.AddListener(() => {
ExecuteAndRememberTagVisualization(sim => {
Expand Down

0 comments on commit 4b52fb4

Please sign in to comment.