Ejemplo n.º 1
0
    void OnEnable()
    {
        placer = (FootprintPlacer)target;

        placer.graph = placer.GetComponent<Graph>();
        if (placer.graph == null)
            placer.graph = placer.GetComponentInParent<Graph>();

        controls = new UtilityTools.EditorControls(placer.gameObject);
    }
Ejemplo n.º 2
0
    void OnEnable()
    {
        placer = (FootprintPlacer)target;

        placer.graph = placer.GetComponent <Graph>();
        if (placer.graph == null)
        {
            placer.graph = placer.GetComponentInParent <Graph>();
        }

        controls = new UtilityTools.EditorControls(placer.gameObject);
    }