private void DetectedObjectList_OnDetectObjectListChanged(int count) { if (count == _generatedNumber) { CorrectAnswerList.AddCorrectAnswer(); GenerateQuestion(); } }
private void DetectedObjectList_OnDetectObjectListChanged(HashSet <String> detectedObjectList) { int result = CalculateResult(detectedObjectList); OnResultChanged(result); if (result == _generatedResult) { CorrectAnswerList.AddCorrectAnswer(); GenerateQuestion(); } }