Method IsCustomItem
| Edit this page View SourceIsCustomItem(string)
Helper method to determine if a prefab with a given name is a custom item created with Jötunn.
Declaration
public static bool IsCustomItem(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 item to the ItemManager. |