ItemContainer.GetUsedItemCategorySlots
Declaration#
public Int32 GetUsedItemCategorySlots(GDTKItemCategory category)Parameters#
| Name | Description |
|---|---|
| category | Category to get count for |
Description#
Get number of slots used in a category
Usage#
using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(ItemContainer target) { int result = target.GetUsedItemCategorySlots(InventoryDatabase.instance.itemCategories[0]); }
}