Lock/Hide Objects by Type

On workspace enabled

All the active GameObjects in the open scenes that posses a component of the specified type are locked and/or hidden. This rule uses GameObject.FindObjectsOfType.

On workspace disabled

All the active GameObjects with the specified component are set to visible and pickable again.

No scene changes

Note that hiding is done via Scene Visibility, and locking via Scene Picking, and not via the GameObject's active flag. As such, enabling this rule doesn't modify the scene.

Last updated