reactivate a disabled Text

Hi all,

  1. How can i access a GUIText which i have set .enabled = false ?
  2. I´m asking myself what´s the best way to hide a GUIText in the Start() function and make it visible later?

I startet like this:

var iP_guiTexts = iP_instance.GetComponentsInChildren(GUIText);
for (var text in iP_guiTexts) {
text.enabled = false;
}

But then i want to change the textcontent ( .text property of every single GUIText) before making it visible again.

aaarrggg… i found my mistake.

I just tried to access the .text property of the array from “GetComponentsInChildren”, which simply has no .text property
So there is no problem.

This thread can be closed.