/// <summary>
 /// Изменяет сложность на следующую
 /// </summary>
 public void NextDifficulty()
 {
     if ((int)_difficulty < Enum.GetNames(typeof(CpuDifficulty)).Length - 1)
     {
         _difficulty++;
     }
     else
     {
         _difficulty = 0;
     }
     DifficultyButtonText.text = _difficulty.ToString().ToUpper();
 }
 private void Start()
 {
     _difficulty = Config.Instance.Difficulty;
     DifficultyButtonText.text = _difficulty.ToString().ToUpper();
     _animator = GetComponent <Animator>();
 }