public void ColorAndFigureColorQuestion() //Question { var figures = GetRandomFigureTypesForCountQuestion(); var firstColor = CountOfFigureColor(figures.Item1); var secondColor = CountOfFigureColor(figures.Item2); if (firstColor.Item2 == secondColor.Item2) { _gameView.CreateNewFigureAndColorQuest(figures.Item1, figures.Item2, firstColor.Item1, secondColor.Item1, true); Debug.Log("Equals"); return; } if (firstColor.Item2 > secondColor.Item2) { _gameView.CreateNewFigureAndColorQuest(figures.Item1, figures.Item2, firstColor.Item1, secondColor.Item1); Debug.Log("Item1 > Item2"); } else { _gameView.CreateNewFigureAndColorQuest(figures.Item2, figures.Item1, secondColor.Item1, firstColor.Item1); Debug.Log("Item1 < Item2"); } }