Пример #1
0
    public void ExplodePlayer()
    {
        _audioSource.PlayOneShot(ExplodeSound);
        _playerAnimationController.Explode();
        _playerController.enabled = false;
        LocalPlayerTransform.GetComponent <Rigidbody2D>().velocity = Vector2.zero;
        _exploded = true;

        WrongGuessMade?.Invoke();
    }