what is simple code for disappear of guitexture with a time ?

i need a help .. i need a simple code that would disappear my guitexture . example the guitexture only appears within 10 seconds only .. thanks .. i hope someone could help me ..

Here's a simple coroutine that would show the given GUITexture for a specified time.

IEnumerator ShowGuiTexture( GUITexture gt, float duration )
{
  if( gt == null )
    yield break;

  gt.enabled = true;
  yield return new WaitForSeconds( duration );
  gt.enabled = false;
}

e.g. to call it when the object started, you'd do something like:

void Start()
{
  StartCoroutine( ShowGuiTexture( guiTexture, 10.0f ) );
}