Android: Back Button now closes App
This commit is contained in:
@@ -31,6 +31,11 @@ namespace RothenburgAR.UI
|
||||
{
|
||||
DoRaycast(screenPoint);
|
||||
}
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.Escape))
|
||||
{
|
||||
Application.Quit();
|
||||
}
|
||||
}
|
||||
|
||||
public void DoRaycast(Vector2 screenPoint, bool denyBlockedHits = true)
|
||||
|
||||
BIN
RothenburgAR.apk
BIN
RothenburgAR.apk
Binary file not shown.
Reference in New Issue
Block a user