private void InitInventoryPanel() { var items = _user_inventory.GetItems(); _total_items_count = items.Count; _creation_items_queue = new Queue <InventoryItemModel>(items); SetContentSize(); _user_inventory.OnIncrease += OnItemIncrease; _user_inventory.OnDecrease += OnItemDecrease; scroll_panel.onValueChanged.AddListener(OnScroll); }