private void SetValues() { localPlayer = GameManger.GetLocalPlayer(); //debugText.text = localPlayer.playerName; ability = new Ability(); ability.SetValues(localPlayer.playerAbility); coolDown = 0; abilityFiller.fillAmount = 0; effectCoolDown = ability.effectTime; abilityImage.sprite = ability.graphics; }