Пример #1
0
    public void OnHighlightEvent()
    {
        //print ("Highlight event A?");

        //if (!highlighted) {		//Are we not already highlighted

        //print ("Highlight event B?");

        //highlighted = true;



        if (master != null)
        {
            master.moveSelector(master.selectorRate);                           //If connected to a menu base, unhighlight the other buttons
        }
        //print ("Highlight event C?");

        OnHighlight.Invoke();                   //Call some events for highlight
        //} //else {
        //print ("Uh oh. Something made me already highlight.");
        //}
    }