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
| Member | What it is |
|---|
BasicDynamicPath() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
| Member | What it is |
|---|
private static Logger logger | NLog logger for this class. |
Properties
| Member | What 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
| Member | What it is |
|---|
void Initialize(Edge edge) | Sets the edge and gets the forest generation at its start point (blocks on the generator). |