Пример #1
0
 public void UpdateMoveData(DirectionsEnum direction)
 {
     if (currentArrow != null)
     {
         if (direction == currentArrow.arrowDirection)
         {
             Core.instance.uiManager.scoresWidget.AddScores(correctMoveScore);
             currentArrow.AnimateCorrect();
             Core.instance.uiManager.ringWidget.AnimateCorrect();
         }
         else
         {
             currentArrow.AnimateWrong();
             Core.instance.uiManager.ringWidget.AnimateWrong();
         }
     }
 }