Keeps track of obtained recipes.
This component is simply used to keep track of obtained recipes.
You have more control of this component through code! Visit the scripting section for more information.
On Recipe Added
A callback for when a recipe is added to this catalog. This accepts 1 argument: the added recipe.
On Recipe Removed
A callback for when a recipe is removed from this catalog. This accepts 1 argument: the removed recipe.
An Inventory component must be attached to the same GameObject as the Recipe Catalog component for recipes to be obtainable.
GameObject
Create an item through the Object Manager.
Under "Type," click "Set Recipe."
Select a recipe.
That's all! In-game, the item will be added to catalog when the item is added to the inventory (if Receive Immediately is enabled) or when the item is used.
Last updated 16 days ago