Skip to main content

GenericCraftingRecipePageSettings

A class in Root.Township, the global namespace.

Global settings for generated crafting recipe pages: the page template and where the item and material glyphs go.

Constructors​

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

Fields​

MemberWhat it is
float circleSegment10ScaleScale of the circle segment glyph for tens.
float circleSegment1ScaleScale of the circle segment glyph for units.
GlyphPosition itemPositionGlyph position of the crafted item.
GlyphPosition[] materialPositionsGlyph positions of the materials.
Page templateThe page used as the template.
float valuePerSegmentAmount one circle segment stands for.