Method IsCustomPiece
| Improve this Doc View SourceIsCustomPiece(string)
Helper method to determine if a prefab with a given name is a custom piece created with Jötunn.
Declaration
public static bool IsCustomPiece(string prefabName)
Parameters
Type | Name | Description |
---|---|---|
string | prefabName | Name of the prefab to test. |
Returns
Type | Description |
---|---|
bool | true if the prefab is added as a custom piece to the PieceManager. |