Example #1
0
        private void SubscribeSelectedItemView(InventoryItemView view)
        {
            if (view is null)
            {
                return;
            }

            scroll.ScrollTo(view.Model);
        }
Example #2
0
 public bool TryAddMaterial(InventoryItemView view, int count = 1)
 {
     return(TryAddMaterial(view.Model, count, out var materialView));
 }