Пример #1
0
 public void toggleMaxHeight(bool maxHeightReached)
 {
     Debug.Log("maxheight " + maxHeightReached);
     maxHeight = maxHeightReached;
     if (maxHeightReached)
     {
         aeroplaneController.SetAdditionalLift(forceOnMaxHeight);
     }
     else
     {
         aeroplaneController.SetAdditionalLift(0);
     }
 }