Skip to main content

TreeBuilder

A class in Root.Township, Alta.Woodcutting.

Editor helper that holds the currently selected woodcut connection and preset tree while building trees.

Constructors​

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

Fields​

2 private and internal fields
MemberWhat it is
private PresetTree presetBacking field for Preset.
private WoodcutConnection selectedBacking field for Selected.

Properties​

MemberWhat it is
PresetTree Preset { get; set; }The preset tree being edited.
WoodcutConnection Selected { get; set; }The selected woodcut connection.