Exemplo n.º 1
0
    private void DeselectAll()
    {
        GameObject[] objects = GameObject.FindGameObjectsWithTag("MapButton");

        foreach (GameObject item in objects)
        {
            Map_Button button = item.GetComponent <Map_Button>();
            if (button.Isselected)
            {
                button.Deselect();
            }
        }
    }
Exemplo n.º 2
0
 protected void Button9_Click(object sender, EventArgs e)
 {
     Map_Button.Focus();
 }