private void Init(Parts parts, UIConfigurations configs) { _parts = parts; _configurations = configs; UpdateLevelText(); UpdateIcon(); UpdateHighlight(); }
public LevelUIController(Parts parts, UIConfigurations configs, Observable <int> level) { if (level != null) { _level = level; _level.OnValueChange += OnLevelChange; } Init(parts, configs); }