示例#1
0
    private IEnumerator TestTimer(int secs)
    {
        QuestGraphics.InitTimer(secs);
        yield return(new WaitForSecondsRealtime(1f));

        if (secs != 1)
        {
            StartCoroutine(TestTimer(secs - 1));
        }
        else
        {
            OnClickAcceptAnswer();
        }
    }