【Unity】Image(Script)のSourceImageを変更する
今日のメモ ランタイム中にSourceImageを変更する。 Image.material.mainTexture Texture texture = Resources.Load("image path") as Texture; Image img = GameObject.Find("Canvas/Panel/***").GetComponent(); img.material.mainTexture = texture; Im...