How do i hide and show a group ob gameobjects?

ive made this

public GameObject stars; = false;

and all my game objects are grouped into stars, when i click to hide them, just stop the scripts(rotation etc.) but not hide the entire group.

is there another form to send the code to hide the entire content?

You can use GameObject.SetActiveRecursively(false)

This sets a gameObject and all its children to activeor inactive.

so :


Should do the trick

EDIT: sorry the wording of your question makes it look like you wanted the above at first however after reading it over again I am thinking you might be wanting broadcast message

Hoo… thanks a lot, i ve used GameObject.SetActiveRecursively and works perfectly…
is there another option to make this change with a fade? well, thats a plus.

thanks a gain