Setting Up Key and Doors along with a Restart Function in Unity Playground

Опубликовано: 28 Май 2026
на канале: ProfMoto
86
1

This tutorial explores the basic functionality of picking up a collectible object, in this case a key, and using it to open a locked door in Unity Playground. We also explore what it means to have inventory in a two player game with a basic Unity Playground User Interface.
When building any game, and especially with repeatable functionality, it makes sense to have the ability to restart the game. In this tutorial we add the ability to restart the game from the game over screen.

Using assets from Kenney.nl

Using Unity 2022.3.28f1 with Playground 1.6 / Playground is not working in Unity 6 as of yet