// Move through the SPIN survey until the end. Then switch to the DASS survey. private void SPINClick() { Debug.Log(reactionTimer.ElapsedMilliseconds / 1000.0 + " seconds"); SPINState = SPINState.next(); if (!SPINState.Equals(SPINEnum.END)) { question.text = SPINState.GetQuestion(); Debug.Log(SPINState.GetQuestion()); reactionTimer.Reset(); reactionTimer.Start(); } else { question.text = "~~~Starting DASS Survey~~~"; Invoke("StartDASS", 3f); } }
// Starts the SPIN survey. private void StartSPIN() { instructions.gameObject.SetActive(true); instructions.text = "INSTRUCTIONS: Rate how much each statement applies to you over the past week"; question.text = SPINState.GetQuestion(); SPIN.SetActive(true); readAloud.SetActive(false); reactionTimer.Reset(); reactionTimer.Start(); }