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