Getting Started

Introduction

Installation

Project Configuration

Testing in Your Sandbox

Samples & Examples

Core Concepts & Glossary

Package Types

Spaces & Space Templates

Custom Avatars

Custom Avatar Animations

Avatar Attachments

Custom Prefab Objects

Embedded Packages

Drivable Vehicles

Scene Setup

Testing In Unity vs Sandbox

Controlling the Camera

Custom Collision, Layers, and Tags

Audio Mixers and Groups

Key Differences from Standard Unity3D development

Economy

Quests and Rewards

Economy Overview

Monetization

Items

Consumable Items

Rewarding Items

World Currency

Selling Items

Scripting

Components

Entrance Point

Camera Passthrough

Interactable

Trigger Event

Point Of Interest

Environment Settings Overrides

Render Pipeline Settings Overrides

Movement Materials

Climbable

Avatar Teleporter

Empty Frame

Projector Surface

Seat Hotspot

Guidelines

Supported Features and Limitations

Performance Guidelines

Lighting

Publishing to Spatial

Finding Published Packages

Support

FAQs

Help and Support

Release Notes

Asset Import Settings

Platform Dependent GameObject

<aside> <img src="/icons/book_gray.svg" alt="/icons/book_gray.svg" width="40px" /> 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.

</aside>

<aside> 💡 This is not available yet.

</aside>

Properties

Property Function
SpatialPlatform There are 6 options - Web, Mobile, HMD, WebAndMobile, WebAndHMD and MobileAndHMD.

How To Use

<aside> <img src="/icons/cursor-click_gray.svg" alt="/icons/cursor-click_gray.svg" width="40px" /> Add PlatformDependentGameObject component to gameObjects that you want to activate only for specific platforms.

Screenshot 2023-02-13 at 1.53.10 PM.jpg

</aside>

← Previous

Settings Overrides

Next →

Trigger Event