Skip to main content

BasicDynamicPath

A class in Root.Township, the global namespace.

Networked object placed along an edge of the generated forest path network. Saves the edge's endpoints so it can find the same edge again on load.

Constructors​

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

Fields​

1 private and internal field
MemberWhat it is
private static Logger loggerNLog logger for this class.

Properties​

MemberWhat it is
Edge Edge { get; private set; }The forest path edge this object belongs to.
ForestGeneration Forest { get; private set; }The forest generation the edge comes from.

Methods​

MemberWhat it is
void Initialize(Edge edge)Sets the edge and gets the forest generation at its start point (blocks on the generator).