EquipSlotClient.EquipItem
Declaration#
public virtual void EquipItem(GDTKItem item, bool autoEquip)Parameters#
| Name | Description |
|---|---|
| item | Item to equip |
| autoEquip | Is 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); }
}