Show / Hide Table of Contents

Method IsCustomPiece

| Edit this page View Source

IsCustomPiece(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.
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾