コード例 #1
0
        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);
        }
コード例 #2
0
        public override void Configure(Base data)
        {
            base.Configure(data);

            Slots = Dependancy.Get <BaseTowerSlots>(gameObject);
        }