Show / Hide Table of Contents

Method Create

| Edit this page View Source

Create(string, int, bool)

Creates a mocked Piece.Requirement
Declaration
public static Piece.Requirement Create(string name, int amount = 1, bool recover = true)
Parameters
Type Name Description
string name Prefab name
int amount Amount
bool recover Whether the item is dropped after deconstructing a piece
Returns
Type Description
Requirement
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾