Inheritance: MonoBehaviour
    public void OnSelect()
    {
        GameObject menu = this.transform.parent.gameObject;
        //print(menu.name);
        GameObject light = menu.transform.parent.gameObject;
        //print(light.name);
        GameObject head = light.transform.GetChild(0).gameObject;
        //print(head.name);
        RotateLight rotate = head.GetComponent <RotateLight>();

        //print(rotate.name);
        if (rotate.enabled != true)
        {
            rotate.enabled = true;
        }
        else
        {
            rotate.OnPlacementStart();
        }



        // RotateLight.Instance.Start();
        //RotateLight rotate = gameObject.GetComponent<RotateLight>();
    }
 void Start()
 {
     rotator        = GameObject.Find("world").GetComponent <worldRotate>();
     light          = GameObject.Find("Directional Light").GetComponent <RotateLight>();
     dirLight       = light.gameObject.GetComponent <Light>();
     dirLight.color = startCol;
     music          = GameObject.FindGameObjectWithTag("music");
     parms          = music.GetComponent <changeSynthParams>();
     midi           = music.GetComponent <getMidiValues>();
     spawner        = GameObject.Find("PeopleSpawner");
     texts.Add(GameObject.Find("Pedestrian Spawn Speed"));
     texts.Add(GameObject.Find("Bump Strength"));
     texts.Add(GameObject.Find("Walk Speed"));
     //	musicLib = GetComponent<Hv_bangSynth_AudioLib>();
     //	musicLib.SendEvent(Hv_bangSynth_AudioLib.Event.Delayon);
     //	musicLib.SetFloatParameter(Hv_bangSynth_AudioLib.Parameter.Synth1q, 0.2f);
 }