Getting started
Getting Started
Using an Existing Unity Project
Package Types
Spaces & Space Templates
Custom Avatars
Custom Avatar Animations
Custom Prefab Objects
World Building
‣
‣
Quests and Rewards
Scripting
‣
‣
Guidelines
Supported Features and Limitations
Performance Guidelines
Lighting
Publishing to Spatial
Finding Published Packages
Support
FAQs
Help and Community
Release Notes
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 →