Progress Graph
Last updated
Last updated
The progress graph editor allows you to visually design your progression/techtree graphs with a node editor.
Small Nodes: If enabled, the editor shows smaller nodes
Canvas Width & Height: Defines the node canvas size, this values are being used when building the runtime UI. The appropriate UI RectTransform parent container (node canvas) will be set to this size.
First, create a new Progress Graph object. Select the Progress Graph type in the hierarchy and click on + Create
You can now see an empty node canvas. Right click on it and select Progress Node.
To connect nodes, simply right click on the first node, select "Connect" and then click on another node you want to connect to.
A Progress node has multiple properties by default. A Progress Node is a DataObject which can be derived from to add additional custom data fields if you like.
Research State: The research state of this node (Locked, Unlocked, InProgress, Complete)
Research Time: The time it takes to research this node
Research Costs: The costs in ProgressResources it takes to be able to research this node
You can create custom progress nodes by simply deriving from the ProgressNode class. This is an example custom node code: