se definido ativo == False Unity
if (gameobject_name.activeInHierarchy == false)
{
//DO SOMETHING
}
Zarden
if (gameobject_name.activeInHierarchy == false)
{
//DO SOMETHING
}