void OnDisable() { GraphwayObject graphwayObject = (GraphwayObject)target; if (graphwayObject != null) { GraphwayEditor.DisableRenderers(graphwayObject.transform); } }
void OnSceneGUI() { GraphwayObject graphwayObject = (GraphwayObject)target; GraphwayEditor.DrawGraph(graphwayObject.transform); }