InventoryDatabaseV2.GetItem
Declaration#
public virtual GDTKItem GetItem(string id)Parameters#
| Name | Description |
|---|---|
| id | Id of value to get |
Description#
Get an Item by id
Usage#
using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod() { var result = InventoryDatabaseV2.instance.GetItem("id"); }
}