/// <summary> /// Increases the minion level of this shop. /// </summary> private void LevelUp() { level++; ClampLevel(); UpdateCurrentUnitParameters(); OnShowableDataChanges?.Invoke(GetShowableData()); UpdateButtons(); }
/// <summary> /// Updates the showable data in the UI. /// </summary> protected void UpdateShowableData() { OnShowableDataChanges?.Invoke(GetShowableData()); }