public virtual void Configure(BaseTowerSlots slots) { this.slots = slots; Buy = Dependancy.Get <BaseTowerSlotBuyContextUI>(gameObject); Use = Dependancy.Get <BaseTowerSlotsUseContextUI>(gameObject); Sell = Dependancy.Get <BaseTowerSlotBuyContextUI>(gameObject); Modules.Configure(this); }
public override void Configure(Base data) { base.Configure(data); Slots = Dependancy.Get <BaseTowerSlots>(gameObject); }