internal void Update() { if (Input.GetKeyDown(KeyCode.Escape) && userInterfaceManager.ActivityStackSize > 1) { userInterfaceManager.HideCurrentActivity(); } }