change image of button unity code example Example: unity update method button ghange photo gameObject.GetComponent<Image>().image