예제 #1
0
 public void ButtonPressMinigame(Button b)
 {
     if (b == mgButton)
     {
         Target t = minigamePointer.Target;
         if (t != null)
         {
             targets[t.index].SetActive(false);
             remainingTargets--;
         }
         else
         {
             minigamePart.Abort();
             SendTextMessage("Daneben!");
         }
     }
     else
     {
         minigamePart.Abort();
         SendTextMessage("Falscher Knopf!");
     }
 }