Пример #1
0
    public virtual void StartDeparting()
    {
        _canDepart = true;

        foreach (var p in _passengersOnBoard)
        {
            if (p.IsPrisoner)
            {
                _gameManager.NotifyPrisonerEscapedWithTransport(p, this);
            }
        }

        if (_departureClip)
        {
            _player.PlayTransportAudio(_departureClip);
        }
    }