.enabled doesn't work with Texture2D?

How can I make .enabled work with Texture2D?

example:

  public Texture2D text;
  text.enabled = true;

I have the following error: Type UnityEngine.Texture2D' does not contain a definition for enabled’ and no extension method enabled' of type UnityEngine.Texture2D’ could be found (are you missing a using directive or an assembly reference?)

Texture have no enable attribute. I think that you are misleading what is a texture. Texture is a image used by material to render a object. If don’t want to render the object using this you must change the material, if you want to not render the object you must disable its gameObject or MeshRender.