// Update is called once per frame void Update() { //var healthAsPercentage = GetComponent<HealthSystem>().HealthAsPercentage; if (playerCharacter.GetIsAlive()) { ScanForAbilityKey(); } }