How To Quit Game Or Application With UI Button Made With Unity Software For Android Platform



#UnityBackButton #UnityAndroidBackButton #UnityQuitGame
In this video tutorial I will show you a simple C# script that will help you to quit game or application if you are creating a project with Unity software for Android platform.

The BEST MECHANICAL KEYBOARD Metoo Zero for the price. I use it. And I must say that it’s perfect!

Consider purchasing my Ultimate Udemy course with great discount

If you like what I’m doing then you can support me through
www.patreon.com/alexanderzotov
or here

Thank you)

What this video is about and what it can be used for also: unity 2d tutorial,
unity tutorial, game development, unity game, make unity game, How To Quit Game Or Application With UI Button Made With Unity Software For Android Platform, unity how to quit game, unity how to quit application, unity how to quit android game, unity how to quit android application, unity quit game, unity quit application, unity quit button, unity exit button, unity android exit button, unity quit button script, unity quit android, unity quit game android, unity android quit, learn unity fast, unity tutorial, how to make games with unity, unity how to make game, unity how to make 2d game, not as good as brackeys but good as well.

Nguồn: https://vestingpoint.com/

Xem thêm bài viết khác: https://vestingpoint.com/game/

23 thoughts on “How To Quit Game Or Application With UI Button Made With Unity Software For Android Platform”

  1. Thanks man! for you i can create this game!!
    https://play.google.com/store/apps/details?id=com.LunsheyGames.ChickenScape

    Reply
  2. does this really close the whole application because when i tried it on my phone the app only closed down and the application was still running in the backgroud

    Reply
  3. I followed this video and it tells me this "NullReferenceException: Object reference not set to an instance of an object"

    Reply
  4. Hello sir, how can i make the confirmation panel
    if the player click Yes exit the game
    if the player click No the pop-up windown close.

    Reply
  5. I'm not a unity programmer, I just play these games off itch.io.… How do I close the applications?? I have been using task manager to do so.

    Reply
  6. using System.Collections;

    using System.Collections.Generic;

    using UnityEngine;

    public class Quit : MonoBehaviour

    {

    private Button quitButton;

    void Start()

    {

    quitButton = GetComponent<Button>();

    quitButton.onClick.AddListener(QuitGame);

    }

    private voide QuitGame()

    {

    Application.Quit();

    }

    }

    Reply
  7. How to play animation based on Pinch in/out values in unity? i want to play anim when we pinch to zoom and when we pinch out it will play animation.this concept is highly recommended one because there is no answer for this question in youtube.Please make a tutorial on it.it will be very useful

    Reply

Leave a Comment