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