コード例 #1
0
        void OnQuestionCompleted()
        {
            if (FastCrowdConfiguration.Instance.Variation == FastCrowdVariation.Spelling ||
                FastCrowdConfiguration.Instance.Variation == FastCrowdVariation.Letter)
            {
                // In spelling and letter, increment score only when the full question is completed
                for (int i = 0; i < game.CurrentChallenge.Count; ++i)
                {
                    game.IncrementScore();
                }
            }

            game.SetCurrentState(game.ResultState);
        }
コード例 #2
0
 void OnQuestionCompleted()
 {
     game.SetCurrentState(game.QuestionState);
 }