checking multiple textures at once using functio update

Hi. is it possible to check multiple textures at once using function update? This script only checks to see if one texture is enabled. What if I want to check to see if multiple textures are enabled at the same time. If i apply another variable-it of course wont add an additional slot because its an update function. How can i add an additional slot and check to see if addition textures are enabled using function updated()?

 function Update(){
var myGUI: GUITexture=gameObject.GetComponent(GUITexture);

if(myGUI.enabled==true)
print("test");
}

// C#
void Update()
{
     GUITexture[] textures = GetComponents(typeof(GUITexture)) as GUITexture[];
     foreach(GUITexture g in textures)
     {     
          if(g.enabled) 
          {
               print("test");
          }
     }
}

You want something like this?