private void TryOpenDoors() { if (CurrentFloor == null) { return; } if (Doors.Open() == true) { Doors.OnDoorsClosed += HandleOnDoorsClosed; BusyDoorsCount++; } if (CurrentFloor.Doors.Open() == true) { CurrentFloor.Doors.OnDoorsClosed += HandleOnDoorsClosed; BusyDoorsCount++; } CurrentFloor.NotifyOnLiftArrival(); }