Если установлен Active == false
if (gameobject_name.activeInHierarchy == false)
{
//DO SOMETHING
}
Zarden
if (gameobject_name.activeInHierarchy == false)
{
//DO SOMETHING
}