Ejemplo n.º 1
0
    void OnDisable()
    {
        GraphwayObject graphwayObject = (GraphwayObject)target;

        if (graphwayObject != null)
        {
            GraphwayEditor.DisableRenderers(graphwayObject.transform);
        }
    }
Ejemplo n.º 2
0
    void OnSceneGUI()
    {
        GraphwayObject graphwayObject = (GraphwayObject)target;

        GraphwayEditor.DrawGraph(graphwayObject.transform);
    }