Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

unity android back button

using UnityEngine.SceneManagement;

void Update()
{
    if (Input.GetKey(KeyCode.Escape))
    {
        SceneManager.LoadScene("Main Menu");
    }
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: unity disable cursor 
Csharp :: c# read file into a string 
Csharp :: email regex c# 
Csharp :: how to play video in ui unity 
Csharp :: c# run c# code from string 
Csharp :: unity lookrotation lerp 
Csharp :: stop process c# 
Csharp :: c# string capital first letter extension method 
Csharp :: unity main texture not working 
Csharp :: c# unity camera follow player horizontal axis 
Csharp :: unity stop all audio 
Csharp :: unity how to add force 
Csharp :: double to int c# 
Csharp :: even number checker in c# 
Csharp :: set active text unity 
Csharp :: unity rigidbody freeze all 
Csharp :: unity get direction from one point to another 
Csharp :: Considerando um projeto C# e o uso do Entity Framework, após realizar uma alteração em um registro, qual o método que deve ser chamado para salvar as 
Csharp :: unity get velocity of gameobject 
Csharp :: c# unity destroy first child object 
Csharp :: print unity 
Csharp :: typeahead causing validation error asp 
Csharp :: unity how to reorder a list 
Csharp :: visual studio windows form exit button 
Csharp :: c# loop 
Csharp :: c#: how to request for admin priviledge 
Csharp :: oncollisionenter compare tag 
Csharp :: newtonsoft json conditionally ignore property 
Csharp :: how to reference function in unity 
Csharp :: get distinct from datatable c# 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =