protected override void Run() { _playerMana = Between.Player.Instance.Mana; _playerMana.OnValueChanged += UpdateValue; UpdateValue(); }
private void InitMana() { Mana = new ManaHolder(GameSettings.Instance.ManaMaxValue, GameSettings.Instance.ManaRecoveryPerSec); Mana.StartRecover(); }