public void Configure(ShieldConfig config) { ShieldConfig = config; SpriteRenderer.sprite = config.Sprite; CurrentEnergy = config.Energy; OnChangeEnergyEvent?.Invoke(); }
public void ConfigureShield(ShieldConfig config) { _Shield.Configure(config); }