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 :: convert string to int c# 
Csharp :: What is the difference between String and string in C#? 
Csharp :: c# winforms textbox select text 
Csharp :: c# string contains any of list 
Csharp :: c list add element 
Csharp :: selection sort in c# 
Csharp :: .net mvc decimal displayformat currency 
Csharp :: Install Mono project on Ubuntu 20.04 
Csharp :: c# datetime add 
Csharp :: how to see image from website in wpf 
Csharp :: contains c# 
Csharp :: switch case in c# with multiple values 
Csharp :: Throw index out of range C# 
Csharp :: c# datagridview hide row selector 
Csharp :: initialize list in c# 
Csharp :: c# sort array of objects 
Csharp :: c# input 
Csharp :: regex c# 
Csharp :: split string on last element 
Csharp :: c# swtich 
Csharp :: C# how to use if and else 
Csharp :: float and int need help 
Csharp :: read file using c# 
Csharp :: how to play multiple sound at once on c# windows form 
Csharp :: json property c# 
Csharp :: unity setparent 
Csharp :: multi line comment c# 
Csharp :: The foreach Loop c# 
Csharp :: c# select a row from datagridview by value 
Csharp :: change scale of an object unity 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =