Esempio 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);
    }
Esempio 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);
    }