Skip to main content
Version: 2026.3

Deactivate Objects Placeholder

DeactivateObjectsPlaceholder

This Placeholder is a MonoBehaviour that you can add to your GameObject.

It allows to control which GameObjects must be deactivated in VR or WebGL.

You may want to use it if you need to hide some particular GameObjects in one case but not in the other, for example platform-specific Canvases or helpers.