Android: Back Button now closes App

This commit is contained in:
2019-01-09 23:03:48 +01:00
parent 1699082e09
commit b7fa6e1565
2 changed files with 5 additions and 0 deletions

View File

@@ -31,6 +31,11 @@ namespace RothenburgAR.UI
{
DoRaycast(screenPoint);
}
if (Input.GetKeyDown(KeyCode.Escape))
{
Application.Quit();
}
}
public void DoRaycast(Vector2 screenPoint, bool denyBlockedHits = true)

Binary file not shown.