コード例 #1
0
    private void PlayerHit()
    {
        sound.Play();
        boopCount++;
        pointSystem.ChangeLife(damageTakenByHits);
        timerOn    = true;
        invincible = true;
        playerAnim.GotHit();
        inviciBarrier.SetActive(true);

        camShake.StartCameraShake();
    }