Getting Started
Getting Started
Samples & Examples
Core Concepts & Glossary
Unity Package Types
Spaces & Space Templates
Custom Avatars
Custom Avatar Animations
Avatar Attachments
Custom Prefab Objects
Components
‣
‣
Quests and Rewards
Drivable Vehicles
Economy
Economy Overview
Monetization
Items
Consumable Items
Rewarding Items
World Currency
Selling Items
Scripting
‣
Guidelines
Supported Features and Limitations
Performance Guidelines
Lighting
Publishing to Spatial
Finding Published Packages
Support
FAQs
Help and Community
Release Notes
Asset Import Settings
Platform Dependent GameObject
This component will destroy its gameObject if the platform is not matched.
This can be useful for like a tutorial canvas that shows controls per platform etc.
This is not available yet.
Properties
Property | Function |
SpatialPlatform | There are 6 options - Web, Mobile, HMD, WebAndMobile, WebAndHMD and MobileAndHMD. |
How To Use
Add PlatformDependentGameObject component to gameObjects that you want to activate only for specific platforms.
← Previous
Next →