private void Awake() { _storeContoller = StoreContoller.Instance; _timeManager = TimeManager.Instance; _targetStoreId = ConvertType.GetStoreId(_storeType); }
public Store(Store_Template store_Template) { _storeContoller = StoreContoller.Instance; _currentItemSet = new List <StoreItemSet>(); _definition = store_Template; _isEvent = false; _scheduleEvent = ScheduleEvent.None; _currentStoreItemSetId = _definition.DefaultStoreItemId; }
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); }
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; }