RecipeComponentListUI.Load
Declaration#
public void Load(GDTKRecipe recipe, Inventory componentSource)Parameters#
| Name | Description |
|---|---|
| recipe | Recipe to display |
| componentSource | Associated Inventory |
Description#
Load data
Usage#
using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(RecipeComponentUI target, Inventory other) { target.Load(InventoryDatabase.instance.recipes[0].components[0], other); }
}