Skip to main content

EquipSlotClient.EquipItem

Declaration#

public virtual void EquipItem(GDTKItem item, bool autoEquip)

Parameters#

NameDescription
itemItem to equip
autoEquipIs the item being auto equipped

Description#

Equips an item to the slot

Usage#

using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(EquipSlotClient target, GDTKItem other)    {        target.EquipItem(other, false);    }
}