Exemplo n.º 1
0
    // Update is called once per frame
    void Update()
    {
        answerButton = FindObjectOfType <AnswerButton>();

        if (gvrStatus)
        {
            gvrTimer += Time.deltaTime;
            circleImageGaze.fillAmount = gvrTimer / totalTime;
        }

        if (gvrTimer >= 3f)
        {
            answerButton.HandleClick();
            GVROff();
        }
    }