Skip to main content

MouldItemComponent

A class in Root.Township, the global namespace.

Item component that marks an item as carrying a mould pattern. The mould press reads it to set a blank Mould's definition.

Constructors​

MemberWhat it is
MouldItemComponent()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

1 private and internal field
MemberWhat it is
private MouldDefinition definitionBacking field for Definition.

Properties​

MemberWhat it is
MouldDefinition Definition { get; }The mould definition this item applies.