public void UpdateActionPointsBar(CharacterUnit character) { actionPointsBar.maxValue = character.GetMaxAP(); actionPointsBar.value = character.GetCurrentAP(); actionPointsText.text = character.GetCurrentAP().ToString(); }