void Update() { TimeSpan span = TimeSpan.FromSeconds(seconds); timer.text = span.ToString(); if (Input.GetKeyDown(KeyCode.Escape)) { InterfaceManager.Instance.leapMotionManager.leapMotionRig.transform.position = new Vector3(InterfaceManager.Instance.leapMotionManager.leapMotionRig.transform.position.x, InterfaceManager.Instance.leapMotionManager.leapMotionRig.transform.position.y, InterfaceManager.Instance.leapMotionManager.transform.position.z - 0.35f); escapePopUp.LaunchPopUpEscapeMessage("Exit Evaluation", "Are you sure you want to exit the current evaluation?"); } }