TO change the sprite of an UI image, se below. 2. GameObject.GetComponent<Image>().sprite = sprite;. unity set sprite transparency.
確定! 回上一頁