Reputation: 61
texture = tex;
GameObject.Find("Aciklama1L1").transform.GetChild(0).GetComponent<RawImage>().texture = tex;
I want change RawImage texture but it's not work.
Upvotes: 1
Views: 843
Reputation: 61
[Solved] its not work because Gameobject is invisible, it cannot be found with find.
Upvotes: 1