예제 #1
0
 public void MoveGoalDownwards(bool left)
 {
     if (left)
     {
         if (leftGoal)
         {
             leftGoal.MoveGoalDownwards();
         }
     }
     else
     {
         if (rightGoal)
         {
             rightGoal.MoveGoalDownwards();
         }
     }
 }