Answers for "application.stop unity"

C#
14

application.stop unity

using UnityEngine;
using System.Collections;// Quits the player when the user hits escapepublic class ExampleClass : MonoBehaviour
{
    void Update()
    {
        if (Input.GetKey("escape"))
        {
            Application.Quit();
        }
    }
}
Posted by: Guest on March-04-2020
9

exit game unity

//Quit/Stop Game
Application.Quit();
Posted by: Guest on May-10-2020

C# Answers by Framework

Browse Popular Code Answers by Language