Show / Hide Table of Contents

Method AddRecipe

| Edit this page View Source

AddRecipe(CustomRecipe)

Add a CustomRecipe to the game.
Checks if the custom recipe is unique and adds it to the list of custom recipes.
Custom recipes are added to the current ObjectDB on every ObjectDB.Awake.
Declaration
public bool AddRecipe(CustomRecipe customRecipe)
Parameters
Type Name Description
CustomRecipe customRecipe The custom recipe to add.
Returns
Type Description
bool true if the custom recipe was added to the manager.
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾