Thanks it works! Also, I've found another solution, which is
(GameObject.Find("myTexture").getComponent(GUITexture)as GUITexture).enable = false;
↧