Esempio n. 1
0
    public void AddCameraTrauma(float amount)
    {
        PlayerCamera playerCamera = player.GetComponent <PlayerHealth>().playerCamera;

        if (playerCamera)
        {
            playerCamera.AddTrauma(amount);
        }
    }