void OnSceneGUI() { if (waypointGraph != null && waypointGraph.graphIsOutDated()) { waypointGraph.PopulateGraph(); } if (waypointGraph != null) { waypointGraph.DrawGraph(); } }