GDTKQuickSlot.AssignItem
Declaration#
public bool AssignItem(GDTKItem item)Parameters#
| Name | Description |
|---|---|
| item | Item to assign |
Description#
Assign an item to this slot
Usage#
using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(GDTKQuickSlot target, GDTKItem other) { target.AssignItem(other); }
}