Пример #1
0
 protected override void Run()
 {
     _playerMana = Between.Player.Instance.Mana;
     _playerMana.OnValueChanged += UpdateValue;
     UpdateValue();
 }
Пример #2
0
 private void InitMana()
 {
     Mana = new ManaHolder(GameSettings.Instance.ManaMaxValue, GameSettings.Instance.ManaRecoveryPerSec);
     Mana.StartRecover();
 }