Si se establece activo == falso

 if (gameobject_name.activeInHierarchy == false)
 {
 	//DO SOMETHING
 }
Zarden