function Update ()
{
if (UIEventListener.Get(GameObject.Find("Button1")).onClick != null)
{
Debug.Log ("do what you have todo is button 1 is pressed");
// Need to force Button 2 into NOT highlighted (change UIButton state -> xx?)
// Need to force Button 1 into (change UIButton state -> Pressed?)
}
if (UIEventListener.Get(GameObject.Find("Button2")).onClick != null)
{
Debug.Log ("do what you have todo is button 2 is pressed");
// Need to force Button 1 into NOT highlighted (change UIButton state -> xx?)
// Need to force Button 2 into (change UIButton state -> Pressed?)
}
}