RecipePlugin.Initialize
Declaration#
public virtual void Initialize(Inventory host)Parameters#
| Name | Description |
|---|---|
| host | Inventory to use for component checks |
Description#
Initialize the plugin
Usage#
using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(GDTKRecipe target, Inventory other) { foreach (RecipePlugin plugin in target.plugins) { plugin.Initialize(other); } }
}