Inventory.IsRecipeKnown
#
Declarationpublic virtual bool IsRecipeKnown(GDTKRecipe recipe)
#
ParametersName | Description |
---|---|
recipe | Recipe to check |
#
DescriptionGet if a Recipe is known to this inventory
#
Usageusing NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(Inventory target) { bool result = target.IsRecipeKnown(InventoryDatabase.instance.recipes[0]); }
}