Ejemplo n.º 1
0
    private void Awake()
    {
        _storeContoller = StoreContoller.Instance;
        _timeManager    = TimeManager.Instance;

        _targetStoreId = ConvertType.GetStoreId(_storeType);
    }
Ejemplo n.º 2
0
    public Store(Store_Template store_Template)
    {
        _storeContoller = StoreContoller.Instance;
        _currentItemSet = new List <StoreItemSet>();

        _definition            = store_Template;
        _isEvent               = false;
        _scheduleEvent         = ScheduleEvent.None;
        _currentStoreItemSetId = _definition.DefaultStoreItemId;
    }
Ejemplo n.º 3
0
    private void Awake()
    {
        _totalItem                 = 0;
        baseItemShopSlots          = new List <BaseItemSellingSlot>();
        _inventoryContainer        = InventoryContainer.Instance;
        _characterStatusController = CharacterStatusController.Instance;
        _itemTemplateController    = ItemTemplateController.Instance;
        _notificationController    = NotificationController.Instance;
        _placesController          = PlacesController.Instance;
        _storeContoller            = StoreContoller.Instance;

        _placeId = ConvertType.GetPlaceId(_place);

        _inventoryContainer.OnInventoryUpdated.AddListener(Initializing);
    }
Ejemplo n.º 4
0
    private void Awake()
    {
        _totalItem                 = 0;
        baseItemShopSlots          = new List <BaseItemShopSlot>();
        _itemTemplateController    = ItemTemplateController.Instance;
        _notificationController    = NotificationController.Instance;
        _inventoryContainer        = InventoryContainer.Instance;
        _characterStatusController = CharacterStatusController.Instance;
        _placesController          = PlacesController.Instance;

        _storeContoller = StoreContoller.Instance;
        _storeId        = ConvertType.GetStoreId(_storeType);
        _placeId        = ConvertType.GetPlaceId(_place);

        _itemTemp = _itemPrefab;
    }