Пример #1
0
    private void Die()
    {
        cam.Chromate(0.05f);
        cam.Shake(0.2f, 0.1f);

        EffectManager.Instance.AddEffect(1, transform.position);
        EffectManager.Instance.AddEffect(3, transform.position);

        AudioManager.Instance.PlayEffectAt(5, transform.position);
        AudioManager.Instance.PlayEffectAt(13, transform.position, 0.3f);
        TryRespawn();
    }