().texture = tex; I want change RawImage texture but it's no" /> ().texture = tex; I want change RawImage texture but it's no" /> ().texture = tex; I want change RawImage texture but it's no"/>

Unity3d How to find RawImage with name in code

753 Views Asked by At
texture = tex;
GameObject.Find("Aciklama1L1").transform.GetChild(0).GetComponent<RawImage>().texture = tex;

I want change RawImage texture but it's not work.

1

There are 1 best solutions below

0
Aşkın TEMEL On BEST ANSWER

[Solved] its not work because Gameobject is invisible, it cannot be found with find.