Beispiel #1
0
        public void Configure(ShieldConfig config)
        {
            ShieldConfig          = config;
            SpriteRenderer.sprite = config.Sprite;
            CurrentEnergy         = config.Energy;

            OnChangeEnergyEvent?.Invoke();
        }
Beispiel #2
0
 public void ConfigureShield(ShieldConfig config)
 {
     _Shield.Configure(config);
 }