Skip to main content

ItemCategoryUI.Load

Declaration#

public void Load(Inventory source, string id)

Parameters#

NameDescription
sourceAssociated Inventory
idId of the Item Category to load

Description#

Load data

Usage#

using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(ItemCategoryUI target, string id, Inventory host)    {        target.Load(host, id);    }
}

Declaration#

public void Load(GDTKItemCategory category)

Parameters#

NameDescription
categoryItem Category to display

Description#

Load data

Usage#

using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(ItemCategoryUI target, GDTKItemCategory other)    {        target.Load(other);    }
}