How to EXIT GAME with BUTTON in Unity - CONFIRMATION DIALOG

Опубликовано: 17 Апрель 2026
на канале: BAM GAMES & APPS - Unity Tutorials
62
0

How to EXIT GAME with BUTTON in Unity - CONFIRMATION DIALOG

In this NEW Unity tutorial, we are going to learn how to exit the game after clicking a button in Unity. We will show a dialog so the user decides if wants to quit or not the application.

To do this, we will configure the Unity UI first to configure the confirmation dialog we will show to the user and then we will modify our c# script to implement a simple method inside Application that will allow us to exit the game in Unity in a simple way.

For this Unity tutorial we rely on previous videos:

✅ HOW TO MAKE POP UP NOTIFICATIONS - POP UP WINDOW IN UNITY | Unity Tutorial
   • ⚠️ HOW TO MAKE POP UP NOTIFICATIONS - POP ...  

💰 How to Add In-App Purchases in Unity - IAP in Unity
   • [NEW 2025] 💰 How to Add In-App Purchases i...  

I'll explain in detail how to do this and show you all the tips and tricks I know in Unity!!!

Have a nice day Unity developer!

❗️KEEP LEARNING about Unity for beginners or advanced users❗️
   • Unity Tutorials - Free Course