Portal
Move players out of this world into a different Uni game entirely, unlike Teleport which stays on the same map.
Introduction
Portal moves players out of this world and into a different one entirely, unlike Teleport which only changes position inside the same world. It is the doorway between your game and the rest of Uni. The Portal component panel in the Uni editor Image The Portal component panel in the Object editor. caption
How to Access
Select an object, open the Properties Panel, then press the Add Component button at the bottom and pick Portal. The component stacks onto the object as a new accordion of properties. How to Access - Add Component in the Properties Panel
Properties
Is Active Bool Turns the portal on or off. World ID String The ID of the destination world. While you type, the field shows a warning icon until the ID points to a published world, because unpublished worlds cannot accept teleports. Once the world is published and the ID checks out, the warning turns into a green check. Trigger Mode Enum How players step through: entering the zone, or pressing an interaction button. Interact Text The label on the interaction bubble. Property Type Description Every property on the Portal component.
Events
Portal has no events.
Commands
Portal has no commands.
Example
Teleport to another world Portal - Simple Example