Getting started
Getting Started
Using an Existing Unity Project
Samples & Examples
Core Concepts & Glossary
Unity Package Types
Spaces & Space Templates
Custom Avatars
Custom Avatar Animations
Avatar Attachments
Custom Prefab Objects
World Building
‣
‣
Quests and Rewards
Drivable Vehicles
Economy
Economy Overview
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
Interactable VS
In Visual Scripting you can use
Spatial Interactable: On Interact
event to execute functions when a user interacts with your Interactable.
In the following example I am triggering a particle effect to play when the user interacts, then I disable the object to hide the Interactable.Additionally you can use the
Spatial Interactable: On Enter
and Spatial Interactable: On Exit
event for when users enter/exit the interactable range. These events are great for giving more feedback to the player to encourage them to interact.
In the following example I scale a child transform up by 20% when inside the interactable range is entered to make it a little more noticeable for the user.