Inventory.GetEquippedItemByGroup
#
Declarationpublic virtual GDTKItem GetEquippedItemByGroup(string groupName)
#
ParametersName | Description |
---|---|
groupName | Group to get |
#
DescriptionGet the item currently equipped to a group name
#
Usageusing NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(Inventory target) { GDTKItem result = target.GetEquippedItemByGroup(InventoryDatabase.instance.equipSlots[0].info.groupName); }
}