Пример #1
0
 public void CompleteFlight()
 {
     state = STATE_REMOVE;
     flightController.FlightComplete(this);
     // destroy airplane and flight
     Object.Destroy(airplane.gameObject);
     Object.Destroy(this);
 }