Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

quit button unity

 void quitGame() {
     Application.Quit();
 }
Comment

how to make a quit button in unity

 //need to build to work
    public void quitGame() 
    {
        Application.Quit();
    }
Comment

exit button unity code

 void doExitGame() {
     Application.Quit();
 }
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# combobox prevent typing 
Csharp :: c# random int 
Csharp :: how to set serial number in gridview in asp net 
Csharp :: unity gameobject teleporting 
Csharp :: unity reset rigidbody velocity 
Csharp :: unity get all by tag 
Csharp :: void on trigger enter 2d 
Csharp :: c# Escape sequence 
Csharp :: unity check if number is multiple of x 
Csharp :: unity reload scene 
Csharp :: string to int c# unity 
Csharp :: restclient basic auth c# 
Csharp :: c# get unix timespan 
Csharp :: unity editor select object in script 
Csharp :: unity c# on trigger enter with specific gameobject 
Csharp :: c# append to file 
Csharp :: format phone number in c# .net 
Csharp :: unity reload current scene 
Csharp :: unity change play mode color 
Csharp :: c# mysql query 
Csharp :: unity copy to clipboard 
Csharp :: how to destroy in unity 
Csharp :: get remainder of number c# 
Csharp :: list add at index c# 
Csharp :: console.writeline 
Csharp :: unity convert mouse position to world position in editor mode 
Csharp :: db scaffolding ef core 
Csharp :: unity gameobject.find not working 
Csharp :: c# find index element array 
Csharp :: unity c# addition class 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =