Skip to main content

ItemSmelterRecipeUnlock

A class in Root.Township, the global namespace.

Component on an item that unlocks a smelter upgrade. SmelterRecipeUnlock reads it from the pickup put in.

Constructors​

MemberWhat it is
ItemSmelterRecipeUnlock()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private SmelterUpgrades unlockDefinitionBacking field for UnlockDefinition.

Properties​

MemberWhat it is
SmelterUpgrades UnlockDefinition { get; }The smelter upgrade this item unlocks.

Used in​

Members of other types that take, return or hold a ItemSmelterRecipeUnlock: