Switching to Another Game Using a Portal
Steps
โ ๏ธ
You can only switch to a game that has been published.
Copy the PID of the game you want to switch to.
- Go to the page of the published game you want to switch to.
- Copy the PID from the address bar of that game.
Add a portal to the world and set its properties.
- Select the portal in the asset panel on the left side of the editor and add it to the world.
- Enter the copied PID into the portalโs pid attribute.
- Turn on the CanCollide property in the portalโs Behavior settings.
Interact with the portal in the game
When you run the game and interact with the portal, you will switch to the other game.