public static void UseBox(ItemData item) { BoxItem box = item.Model_old as BoxItem; BackpackManager.Instance.LoseItem(item, 1, box.GetItems()); }
public bool UseBox(ItemData item) { BoxItem box = item.Model_old as BoxItem; return(LoseItem(item, 1, box.GetItems())); }